-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
109 lines (104 loc) · 3.37 KB
/
Copy pathsetup.py
File metadata and controls
109 lines (104 loc) · 3.37 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
"""
Setup script for Super Gemini Framework
This file is provided for backward compatibility with older build tools.
Modern installations should use pyproject.toml with pip >= 21.3.
"""
from setuptools import setup, find_packages
from pathlib import Path
# Read the README file
readme_path = Path(__file__).parent / "README.md"
long_description = readme_path.read_text(encoding="utf-8") if readme_path.exists() else ""
# Read version from version.py
version_path = Path(__file__).parent / "src" / "supergemini" / "version.py"
version = "1.0.0"
if version_path.exists():
exec(version_path.read_text(encoding="utf-8"))
version = __version__
setup(
name="supergemini",
version=version,
description="AI-enhanced development framework for Google Gemini - 为 Google Gemini AI 打造的元编程配置框架",
long_description=long_description,
long_description_content_type="text/markdown",
author="AimerFeng",
author_email="aimerfeng@example.com",
url="https://github.com/SuperGemini-Org/SuperGemini_Framework",
license="MIT",
python_requires=">=3.10",
packages=find_packages(where="src"),
package_dir={"": "src"},
include_package_data=True,
package_data={
"supergemini": [
"agents/*.md",
"commands/*.md",
"modes/*.md",
"mcp/*.md",
"mcp/configs/*.json",
"core/*.md",
"hooks/*.json",
"examples/*.md",
]
},
install_requires=[
"click>=8.0.0",
"rich>=13.0.0",
"pyyaml>=6.0",
"toml>=0.10.2",
],
extras_require={
"dev": [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"black>=23.0.0",
"flake8>=6.0.0",
"mypy>=1.0.0",
"isort>=5.12.0",
"hypothesis>=6.0.0",
],
"test": [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"pytest-mock>=3.10.0",
"hypothesis>=6.0.0",
],
},
entry_points={
"console_scripts": [
"supergemini=supergemini.cli.main:main",
"sg=supergemini.cli.main:main",
],
},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Code Generators",
"Natural Language :: Chinese (Simplified)",
"Natural Language :: English",
],
keywords=[
"gemini",
"ai",
"framework",
"development",
"automation",
"agents",
"mcp",
"中文",
"chinese",
],
project_urls={
"Homepage": "https://github.com/SuperGemini-Org/SuperGemini_Framework",
"Documentation": "https://github.com/SuperGemini-Org/SuperGemini_Framework/docs",
"Repository": "https://github.com/SuperGemini-Org/SuperGemini_Framework",
"Bug Tracker": "https://github.com/SuperGemini-Org/SuperGemini_Framework/issues",
"Author Blog": "https://github.com/aimerfeng/AimerFeng_blog",
},
)