2023-07-17 03:12:49 +03:00
|
|
|
import codecs
|
|
|
|
import os
|
|
|
|
|
2023-07-28 13:07:17 +03:00
|
|
|
from setuptools import find_packages, setup
|
|
|
|
|
2023-07-17 03:12:49 +03:00
|
|
|
here = os.path.abspath(os.path.dirname(__file__))
|
|
|
|
|
|
|
|
with codecs.open(os.path.join(here, "README.md"), encoding="utf-8") as fh:
|
|
|
|
long_description = "\n" + fh.read()
|
2023-07-28 13:07:17 +03:00
|
|
|
|
|
|
|
with open("requirements.txt") as f:
|
2023-07-17 03:12:49 +03:00
|
|
|
required = f.read().splitlines()
|
|
|
|
|
2023-08-22 17:33:18 +03:00
|
|
|
VERSION = '0.0.2.3'
|
2023-07-28 13:07:17 +03:00
|
|
|
DESCRIPTION = (
|
|
|
|
"The official gpt4free repository | various collection of powerful language models"
|
|
|
|
)
|
2023-07-17 03:12:49 +03:00
|
|
|
|
|
|
|
# Setting up
|
|
|
|
setup(
|
|
|
|
name="g4f",
|
|
|
|
version=VERSION,
|
|
|
|
author="Tekky",
|
|
|
|
author_email="<support@g4f.ai>",
|
|
|
|
description=DESCRIPTION,
|
|
|
|
long_description_content_type="text/markdown",
|
|
|
|
long_description=long_description,
|
|
|
|
packages=find_packages(),
|
|
|
|
install_requires=required,
|
2023-08-22 17:33:18 +03:00
|
|
|
url='https://github.com/xtekky/gpt4free', # Link to your GitHub repository
|
|
|
|
project_urls={
|
|
|
|
'Source Code': 'https://github.com/xtekky/gpt4free', # GitHub link
|
|
|
|
'Bug Tracker': 'https://github.com/xtekky/gpt4free/issues', # Link to issue tracker
|
|
|
|
},
|
2023-07-28 13:07:17 +03:00
|
|
|
keywords=[
|
|
|
|
"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-17 03:12:49 +03:00
|
|
|
classifiers=[
|
|
|
|
"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 13:07:17 +03:00
|
|
|
],
|
2023-08-14 02:04:42 +03:00
|
|
|
)
|