-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
50 lines (46 loc) · 1.46 KB
/
setup.py
File metadata and controls
50 lines (46 loc) · 1.46 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
"""
Setup configuration for Context CLI
"""
from setuptools import setup, find_packages
from pathlib import Path
# Read requirements
def read_requirements(filename):
"""Read requirements from file"""
req_path = Path(__file__).parent / "requirements" / filename
if req_path.exists():
with open(req_path, "r") as f:
return [
line.strip()
for line in f
if line.strip() and not line.startswith("#")
]
return []
setup(
name="context",
version="2.0.0",
description="Multi-project workspace management with intelligent indexing and search",
author="Context Team",
packages=find_packages(where="src"),
package_dir={"": "src"},
python_requires=">=3.11",
install_requires=read_requirements("base.txt"),
extras_require={
"dev": read_requirements("dev.txt"),
"analysis": read_requirements("analysis.txt"),
"security": read_requirements("security.txt"),
"profiling": read_requirements("profiling.txt"),
"integrations": read_requirements("integrations.txt"),
},
entry_points={
"console_scripts": [
"context=src.cli.main:main",
],
},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
)