Skip to content

Commit

Permalink
Don't use hatching build system
Browse files Browse the repository at this point in the history
  • Loading branch information
shri committed Aug 11, 2024
1 parent be2695e commit bd138f9
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,29 +34,12 @@ readme = "README.md"
requires-python = ">=3.10"
version = "0.2.0"

[project.urls]
Discord = "https://discord.gg/litestar"
Homepage = "https://github.com/litestar-org/litestar-fullstack"
Issue = "https://github.com/litestar-org/litestar-fullstack/issues/"
Source = "https://github.com/litestar-org/litestar-fullstack"
[tool.pdm]
distribution = true

[project.scripts]
app = "app.__main__:run_cli"

[build-system]
build-backend = "hatchling.build"
requires = ["hatchling", "nodeenv"]

[tool.hatch.metadata]
allow-direct-references = true

[tool.hatch.build]
dev-mode-dirs = ["src/"]
include = ["CHANGELOG.md", "src/app/**/*.sql", "src/app/lib/db/**/*.ini"]
packages = ["src/app"]

[tool.hatch.build.targets.app]

[tool.pdm.scripts]
lint = "pdm run pre-commit run --all-files"
post_install = "pdm run python scripts/pre-build.py --install-packages"
Expand Down

0 comments on commit bd138f9

Please sign in to comment.