2023-07-16 20:12:49 -04:00
|
|
|
import codecs
|
|
|
|
import os
|
|
|
|
|
2023-07-28 06:07:17 -04:00
|
|
|
from setuptools import find_packages, setup
|
|
|
|
|
2023-07-16 20:12:49 -04:00
|
|
|
here = os.path.abspath(os.path.dirname(__file__))
|
|
|
|
|
2023-11-08 04:05:39 -05:00
|
|
|
with codecs.open(os.path.join(here, 'README.md'), encoding='utf-8') as fh:
|
|
|
|
long_description = '\n' + fh.read()
|
2023-07-28 06:07:17 -04:00
|
|
|
|
2023-11-08 04:05:39 -05:00
|
|
|
with open('requirements.txt') as f:
|
2023-07-16 20:12:49 -04:00
|
|
|
required = f.read().splitlines()
|
|
|
|
|
2023-12-22 15:16:37 -05:00
|
|
|
VERSION = '0.1.9.5'
|
2023-07-28 06:07:17 -04:00
|
|
|
DESCRIPTION = (
|
2023-11-08 04:05:39 -05:00
|
|
|
'The official gpt4free repository | various collection of powerful language models'
|
2023-07-28 06:07:17 -04:00
|
|
|
)
|
2023-07-16 20:12:49 -04:00
|
|
|
|
|
|
|
# Setting up
|
|
|
|
setup(
|
2023-11-08 04:05:39 -05:00
|
|
|
name='g4f',
|
2023-07-16 20:12:49 -04:00
|
|
|
version=VERSION,
|
2023-11-08 04:05:39 -05:00
|
|
|
author='Tekky',
|
|
|
|
author_email='<support@g4f.ai>',
|
2023-07-16 20:12:49 -04:00
|
|
|
description=DESCRIPTION,
|
2023-11-08 04:05:39 -05:00
|
|
|
long_description_content_type='text/markdown',
|
2023-07-16 20:12:49 -04:00
|
|
|
long_description=long_description,
|
|
|
|
packages=find_packages(),
|
2023-10-11 21:35:11 -04:00
|
|
|
package_data={
|
2023-11-08 04:05:39 -05:00
|
|
|
'g4f': ['g4f/interference/*', 'g4f/gui/client/*', 'g4f/gui/server/*', 'g4f/Provider/npm/*']
|
2023-10-11 21:35:11 -04:00
|
|
|
},
|
2023-10-06 15:39:43 -04:00
|
|
|
include_package_data=True,
|
2023-07-16 20:12:49 -04:00
|
|
|
install_requires=required,
|
2023-08-31 07:32:23 -04:00
|
|
|
entry_points={
|
2023-11-08 04:05:39 -05:00
|
|
|
'console_scripts': ['g4f=g4f.cli:main'],
|
2023-08-31 07:32:23 -04:00
|
|
|
},
|
2023-11-08 04:05:39 -05:00
|
|
|
url='https://github.com/xtekky/gpt4free', # Link to your GitHub repository
|
2023-08-22 10:33:18 -04:00
|
|
|
project_urls={
|
2023-11-08 04:05:39 -05:00
|
|
|
'Source Code': 'https://github.com/xtekky/gpt4free', # GitHub link
|
|
|
|
'Bug Tracker': 'https://github.com/xtekky/gpt4free/issues', # Link to issue tracker
|
2023-08-22 10:33:18 -04:00
|
|
|
},
|
2023-07-28 06:07:17 -04:00
|
|
|
keywords=[
|
2023-11-08 04:05:39 -05:00
|
|
|
'python',
|
|
|
|
'chatbot',
|
|
|
|
'reverse-engineering',
|
|
|
|
'openai',
|
|
|
|
'chatbots',
|
|
|
|
'gpt',
|
|
|
|
'language-model',
|
|
|
|
'gpt-3',
|
|
|
|
'gpt3',
|
|
|
|
'openai-api',
|
|
|
|
'gpt-4',
|
|
|
|
'gpt4',
|
|
|
|
'chatgpt',
|
|
|
|
'chatgpt-api',
|
|
|
|
'openai-chatgpt',
|
|
|
|
'chatgpt-free',
|
|
|
|
'chatgpt-4',
|
|
|
|
'chatgpt4',
|
|
|
|
'chatgpt4-api',
|
|
|
|
'free',
|
|
|
|
'free-gpt',
|
|
|
|
'gpt4free',
|
|
|
|
'g4f',
|
2023-07-28 06:07:17 -04:00
|
|
|
],
|
2023-07-16 20:12:49 -04:00
|
|
|
classifiers=[
|
2023-11-08 04:05:39 -05:00
|
|
|
'Development Status :: 2 - Pre-Alpha',
|
|
|
|
'Intended Audience :: Developers',
|
|
|
|
'Programming Language :: Python :: 3',
|
|
|
|
'Operating System :: Unix',
|
|
|
|
'Operating System :: MacOS :: MacOS X',
|
|
|
|
'Operating System :: Microsoft :: Windows',
|
2023-07-28 06:07:17 -04:00
|
|
|
],
|
2023-10-11 21:35:11 -04:00
|
|
|
)
|