danielchat/docker
0
1# -*- coding: utf-8 -*-2 3from setuptools import setup, find_packages4 5from src.pandora import __version__6 7with open('README.md', 'r', encoding='utf-8') as f:8 long_description = f.read()9 10with open('requirements.txt', 'r', encoding='utf-8') as f:11 requirements = f.read().split('\n')12 13with open('requirements_api.txt', 'r', encoding='utf-8') as f:14 requirements_api = f.read().split('\n')15 16setup(17 name='Pandora-ChatGPT',18 version=__version__,19 python_requires='>=3.7',20 author='Neo Peng',21 author_email='pengzhile@gmail.com',22 keywords='OpenAI ChatGPT ChatGPT-Plus gpt-3.5-turbo gpt-3.5-turbo-0301',23 description='A command-line interface to ChatGPT',24 long_description=long_description,25 long_description_content_type='text/markdown',26 url='https://github.com/pengzhile/pandora',27 packages=find_packages('src'),28 package_dir={'pandora': 'src/pandora'},29 include_package_data=True,30 install_requires=requirements,31 extras_require={32 'api': requirements_api,33 'cloud': ['pandora-cloud~=0.4.2'],34 },35 entry_points={36 'console_scripts': [37 'pandora = pandora.launcher:run',38 'pandora-cloud = pandora.cloud_launcher:run',39 ]40 },41 project_urls={42 'Source': 'https://github.com/pengzhile/pandora',43 'Tracker': 'https://github.com/pengzhile/pandora/issues',44 },45 classifiers=[46 'Development Status :: 5 - Production/Stable',47 48 'Environment :: Console',49 'Environment :: Web Environment',50 51 'Framework :: Flask',52 53 'Intended Audience :: Developers',54 'Intended Audience :: End Users/Desktop',55 56 'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',57 58 'Natural Language :: English',59 'Natural Language :: Chinese (Simplified)',60 61 'Operating System :: MacOS',62 'Operating System :: Microsoft :: Windows',63 'Operating System :: POSIX :: Linux',64 65 'Programming Language :: SQL',66 'Programming Language :: JavaScript',67 'Programming Language :: Python :: 3.7',68 'Programming Language :: Python :: 3.8',69 'Programming Language :: Python :: 3.9',70 'Programming Language :: Python :: 3.10',71 'Programming Language :: Python :: 3.11',72 73 'Topic :: Communications :: Chat',74 'Topic :: Internet :: WWW/HTTP',75 ],76)77 