diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..73ba000 --- /dev/null +++ b/setup.py @@ -0,0 +1,45 @@ +from setuptools import setup, find_packages + +setup( + name="codebase-knowledge-graph-cli", + version="0.1.0", + description="A CLI tool that analyzes codebases and generates interactive knowledge graphs", + author="Codebase Knowledge Graph Contributors", + packages=find_packages(where="src", include=["src.*"]), + package_dir={"": "src"}, + python_requires=">=3.9", + install_requires=[ + "tree-sitter>=0.23.1", + "tree-sitter-languages>=1.10.0", + "networkx>=3.3", + "graphviz>=0.20.3", + "click>=8.1.7", + "rich>=13.7.1", + "pyyaml>=6.0.1", + "tqdm>=4.66.1", + ], + extras_require={ + "dev": [ + "pytest>=7.4.0", + "pytest-cov>=4.1.0", + "mypy>=1.7.0", + "flake8>=6.1.0", + "black>=23.11.0", + ], + }, + entry_points={ + "console_scripts": [ + "codegraph=src.cli:main", + ], + }, + classifiers=[ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + ], +)