Skip to content

Commit

Permalink
refactor: Update siapy-cli script and .env file override
Browse files Browse the repository at this point in the history
  • Loading branch information
janezlapajne committed Aug 27, 2024
1 parent 1fc1066 commit a0b34a8
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,19 @@ requires-python = "==3.10.*"
readme = "README.md"
license = { text = "MIT" }

[project.scripts]
siapy-cli = "main:app"

[tool.pdm]
distribution = false
distribution = true

[tool.pdm.scripts]
siapy-lib.cmd = "main.py"
siapy-lib.env_file.override = ".env"
siapy-cli.cmd = "main.py"
siapy-cli.env_file.override = ".env"

[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"

[tool.pdm.dev-dependencies]
lint = ["ruff>=0.4.8", "mypy>=1.10.1", "pandas-stubs>=2.2.2.240603"]
Expand Down

0 comments on commit a0b34a8

Please sign in to comment.