forked from zhile-io/pandora
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
76 lines (62 loc) · 2.33 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from src.pandora import __version__
with open('README.md', 'r', encoding='utf-8') as f:
long_description = f.read()
with open('requirements.txt', 'r', encoding='utf-8') as f:
requirements = f.read().split('\n')
with open('requirements_api.txt', 'r', encoding='utf-8') as f:
requirements_api = f.read().split('\n')
setup(
name='Pandora-ChatGPT',
version=__version__,
python_requires='>=3.7',
author='Neo Peng',
author_email='[email protected]',
keywords='OpenAI ChatGPT ChatGPT-Plus gpt-3.5-turbo gpt-3.5-turbo-0301',
description='A command-line interface to ChatGPT',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/zhile-io/pandora',
packages=find_packages('src'),
package_dir={'pandora': 'src/pandora'},
include_package_data=True,
install_requires=requirements,
extras_require={
'api': requirements_api,
'cloud': ['pandora-cloud~=0.7.3'],
},
entry_points={
'console_scripts': [
'pandora = pandora.launcher:run',
'pandora-cloud = pandora.cloud_launcher:run',
]
},
project_urls={
'Source': 'https://github.com/zhile-io/pandora',
'Tracker': 'https://github.com/zhile-io/pandora/issues',
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Environment :: Web Environment',
'Framework :: Flask',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Natural Language :: English',
'Natural Language :: Chinese (Simplified)',
'Operating System :: MacOS',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Programming Language :: SQL',
'Programming Language :: JavaScript',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Communications :: Chat',
'Topic :: Internet :: WWW/HTTP',
],
)