-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
56 lines (54 loc) · 1.6 KB
/
setup.py
File metadata and controls
56 lines (54 loc) · 1.6 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
from setuptools import setup, find_packages
# Read version from __init__.py
with open('ai_shell/__init__.py', 'r') as f:
for line in f:
if line.startswith('__version__'):
version = line.split('=')[1].strip().strip('"\'')
break
setup(
name="py-ai-shell",
version=version,
packages=find_packages(),
install_requires=[
"openai>=1.0.0",
"click>=8.0.0",
"rich>=10.0.0",
"pydantic>=2.0.0",
"pyperclip>=1.8.0",
],
extras_require={
'dev': [
'pytest>=7.0.0',
'pytest-cov>=4.0.0',
'flake8>=6.0.0',
'tox>=4.0.0',
'twine>=4.0.0',
'wheel>=0.40.0',
'build>=0.10.0',
'watchdog'
],
},
entry_points={
"console_scripts": [
"ai=ai_shell.cli:main",
"ai-shell=ai_shell.cli:main",
],
},
author="Cheney Yan",
author_email="cheney.yan@example.com",
description="AI-powered shell assistant",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="https://github.com/cheney-yan/py-ai-shell",
project_urls={
"Bug Tracker": "https://github.com/cheney-yan/py-ai-shell/issues",
"Documentation": "https://github.com/cheney-yan/py-ai-shell",
"Source Code": "https://github.com/cheney-yan/py-ai-shell",
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.8",
)