-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
57 lines (52 loc) · 1.69 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
from setuptools import setup, find_namespace_packages
import os
import re
def get_version():
init_path = os.path.join("repominify", "__init__.py")
try:
with open(init_path, "r") as f:
content = f.read()
version_match = re.search(
r'^__version__ = ["\']([^"\']*)["\']', content, re.M
)
if version_match:
return version_match.group(1)
except FileNotFoundError:
pass
# Fallback to hardcoded version if file not found
return "0.1.7"
setup(
name="repominify",
version=get_version(),
author="Mike Casale",
author_email="[email protected]",
description="A Python package that optimizes codebase representations for LLMs by generating compact, context-rich summaries",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="https://github.com/mikewcasale/repominify",
packages=find_namespace_packages(include=["repominify", "repominify.*"]),
python_requires=">=3.7",
install_requires=[
"networkx>=2.6.0",
"pyyaml>=5.1.0",
],
entry_points={
"console_scripts": [
"repominify=repominify.cli:main",
],
},
package_data={
"": ["py.typed"],
},
zip_safe=False,
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
)