feat: Update project configuration for packaging

- Updated `.gitignore` to exclude the `dist/` directory, ensuring build artifacts are not tracked in Git, maintaining repository cleanliness.
- Renamed project to `trackingmore-api-tool` in `pyproject.toml` for better identification and consistency across platforms.
- Added configuration for wheel packaging in `pyproject.toml`, facilitating easier package distribution and installation.
This commit is contained in:
Kumi 2024-04-23 17:24:08 +02:00
parent b68b7c438e
commit e9c7eb07bc
Signed by: kumi
GPG key ID: ECBCC9082395383F
2 changed files with 8 additions and 2 deletions

3
.gitignore vendored
View file

@ -1,4 +1,5 @@
venv/ venv/
*.pyc *.pyc
__pycache__/ __pycache__/
settings.ini settings.ini
dist/

View file

@ -3,7 +3,7 @@ requires = ["hatchling"]
build-backend = "hatchling.build" build-backend = "hatchling.build"
[project] [project]
name = "trackingmore" name = "trackingmore-api-tool"
version = "0.1.2" version = "0.1.2"
authors = [ authors = [
{ name="Kumi Mitterer", email="trackingmore-api-tool@kumi.email" }, { name="Kumi Mitterer", email="trackingmore-api-tool@kumi.email" },
@ -18,6 +18,11 @@ classifiers = [
"Operating System :: OS Independent", "Operating System :: OS Independent",
] ]
[tool.hatch.build.targets.wheel]
packages = [
"src/trackingmore"
]
[project.urls] [project.urls]
"Homepage" = "https://kumig.it/kumitterer/trackingmore-api-tool" "Homepage" = "https://kumig.it/kumitterer/trackingmore-api-tool"
"Bug Tracker" = "https://kumig.it/kumitterer/trackingmore-api-tool/issues" "Bug Tracker" = "https://kumig.it/kumitterer/trackingmore-api-tool/issues"