From e9c7eb07bcbb40a3d906e11ce3b8679e989eeb90 Mon Sep 17 00:00:00 2001 From: Kumi Date: Tue, 23 Apr 2024 17:24:08 +0200 Subject: [PATCH] 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. --- .gitignore | 3 ++- pyproject.toml | 7 ++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 1c8f647..b542d36 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ venv/ *.pyc __pycache__/ -settings.ini \ No newline at end of file +settings.ini +dist/ \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 41a3f7d..f0ba01f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ requires = ["hatchling"] build-backend = "hatchling.build" [project] -name = "trackingmore" +name = "trackingmore-api-tool" version = "0.1.2" authors = [ { name="Kumi Mitterer", email="trackingmore-api-tool@kumi.email" }, @@ -18,6 +18,11 @@ classifiers = [ "Operating System :: OS Independent", ] +[tool.hatch.build.targets.wheel] +packages = [ + "src/trackingmore" +] + [project.urls] "Homepage" = "https://kumig.it/kumitterer/trackingmore-api-tool" "Bug Tracker" = "https://kumig.it/kumitterer/trackingmore-api-tool/issues"