From d7310adb09b11607e477576f1646d33118147572 Mon Sep 17 00:00:00 2001 From: akadeepesh Date: Fri, 15 May 2026 08:30:36 +0530 Subject: [PATCH] Update .gitignore and pyproject.toml for improved packaging and file handling --- .gitignore | 3 ++- pyproject.toml | 16 ++++++++++++++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 29f3e8c..8422f6f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .venv/ contextzip.egg-info/ contextzip/__pycache__/ -contextzip/rules/ \ No newline at end of file +contextzip/rules/ +dist/ \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 4170367..428ca05 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,15 @@ +[build-system] +requires = ["setuptools>=68", "wheel"] +build-backend = "setuptools.build_meta" + [project] name = "contextzip" version = "0.1.0" description = "Intelligently package your codebase for AI tools" readme = "README.md" requires-python = ">=3.9" -license = { file = "LICENSE" } +license = "MIT" +license-files = ["LICENSE"] authors = [ { name = "Deepesh", email = "akadeepesh@gmail.com" } ] @@ -31,4 +36,11 @@ dependencies = [ [project.urls] Homepage = "https://github.com/akadeepesh/contextzip" Repository = "https://github.com/akadeepesh/contextzip" -Issues = "https://github.com/akadeepesh/contextzip/issues" \ No newline at end of file +Issues = "https://github.com/akadeepesh/contextzip/issues" + +[project.scripts] +contextzip = "contextzip.cli:main" + +[tool.setuptools.packages.find] +where = ["."] +include = ["contextzip", "contextzip.rules"] \ No newline at end of file