Skip to content

Commit

Permalink
fix: Fixing issues with build targets in pyproject.toml and conda-build
Browse files Browse the repository at this point in the history
  • Loading branch information
jslorrma committed Aug 26, 2024
1 parent f5e5f01 commit 17e890a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ path = "src/keyrings_artifacts/_version.py"
[tool.hatch.build]
packages = ["src/keyrings_artifacts"]

[tool.hatch.build.targets.wheel]
packages = ["src/keyrings_artifacts", "keyrings_artifacts"]

[tool.hatch.build.targets.sdist]
packages = ["src/keyrings_artifacts", "keyrings_artifacts"]

# ─────────────────────────────────────────────────────────────────────────────
# Pixi Configuration
# ─────────────────────────────────────────────────────────────────────────────
Expand Down Expand Up @@ -128,7 +134,7 @@ outputs = ["dist/*.whl", "dist/*.tar.gz"]
[tool.pixi.feature.dev.tasks.recipe]
# Generate a conda recipe using grayskull
# Usage: pixi run -e dev recipe
cmd = "pixi exec grayskull pypi --strict-conda-forge --use-v1-format keyrings.artifacts"
cmd = "pixi exec grayskull pypi --strict-conda-forge keyrings.artifacts"
cwd = "recipe"

[tool.pixi.feature.dev.tasks.release]
Expand Down

0 comments on commit 17e890a

Please sign in to comment.