-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
107 lines (98 loc) · 3.16 KB
/
setup.py
File metadata and controls
107 lines (98 loc) · 3.16 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
"""
Setup script for CodeFlow Engine
Installs the CodeFlow CLI and makes it available system-wide.
"""
import os
from setuptools import find_packages, setup
# Read the README file
def read_readme():
readme_path = os.path.join(os.path.dirname(__file__), "README.md")
if os.path.exists(readme_path):
with open(readme_path, encoding="utf-8") as f:
return f.read()
return "CodeFlow Engine - AI-Powered Code Quality and Automation"
# Read requirements
def read_requirements():
requirements_path = os.path.join(os.path.dirname(__file__), "requirements.txt")
if os.path.exists(requirements_path):
with open(requirements_path, encoding="utf-8") as f:
return [
line.strip() for line in f if line.strip() and not line.startswith("#")
]
return []
setup(
name="codeflow-engine",
version="0.2.0-alpha.1",
author="CodeFlow Team",
author_email="team@codeflow.dev",
description="AI-Powered GitHub PR Automation and Issue Management",
long_description=read_readme(),
long_description_content_type="text/markdown",
url="https://github.com/JustAGhosT/codeflow-engine/tree/master/engine",
packages=find_packages(),
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Libraries :: Python Modules",
],
python_requires=">=3.12",
install_requires=read_requirements(),
extras_require={
"dev": [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.0.0",
"black>=23.0.0",
"isort>=5.12.0",
"mypy>=1.0.0",
"ruff>=0.1.0",
"pre-commit>=3.0.0",
],
"dashboard": [
"flask>=2.3.0",
"flask-cors>=4.0.0",
],
"full": [
"flask>=2.3.0",
"flask-cors>=4.0.0",
"click>=8.1.0",
"openai>=1.0.0",
"anthropic>=0.7.0",
],
},
entry_points={
"console_scripts": [
"CodeFlow=codeflow_engine.cli.main:cli",
"codeflow-dashboard=codeflow_engine.dashboard.server:run_dashboard",
],
},
include_package_data=True,
package_data={
"codeflow_engine": [
"dashboard/templates/*.html",
"dashboard/static/*",
],
},
keywords=[
"ai",
"code-quality",
"automation",
"linting",
"testing",
"code-review",
"git-hooks",
"ci-cd",
"development-tools",
],
project_urls={
"Bug Reports": "https://github.com/JustAGhosT/codeflow-engine/issues",
"Source": "https://github.com/JustAGhosT/codeflow-engine/tree/master/engine",
"Documentation": "https://github.com/JustAGhosT/codeflow-engine/tree/master/docs",
},
)