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