refactor(root): migrate project to src layout and update CLI entry points

New Features
- Add Typer dependency.

Enhancements
- Move packages to src/ layout and update build configuration.
- Change console scripts to use djinit.cli:app.
- Exclude django-new from ruff checks.
- Raise minimum Python version to >=3.10.

Bug Fixes
- none
This commit is contained in:
sankalp committed 2026-01-31 22:23:35 +05:45
1 parent a293ad9771
commit a3d20860b6
4 files changed
+58 -9

No files matched your search

+4 -3
View File
@@ -3,7 +3,7 @@ requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["djinit"]
packages = ["src/djinit"]
[project]
name = "djinitx"
@@ -49,14 +49,15 @@ classifiers=[
dependencies = [
"rich>=14.2.0",
"questionary>=2.0.1",
"typer>=0.21.1",
]
[project.urls]
Homepage = "https://github.com/S4NKALP/djinit"
[project.scripts]
djinit = "djinit.generator:main"
dj = "djinit.generator:main"
djinit = "djinit.cli:app"
dj = "djinit.cli:app"
[dependency-groups]
dev = [