summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorArran Hobson Sayers <ahobsonsayers@gmail.com>2023-10-12 03:35:11 +0200
committerArran Hobson Sayers <ahobsonsayers@gmail.com>2023-10-12 03:35:11 +0200
commit77697be33381a01350d0818ff069469faea2f4ac (patch)
tree418bfd7e3a9d01b94a6dcc3077c96ca87e674e73 /setup.py
parent~ (diff)
downloadgpt4free-77697be33381a01350d0818ff069469faea2f4ac.tar
gpt4free-77697be33381a01350d0818ff069469faea2f4ac.tar.gz
gpt4free-77697be33381a01350d0818ff069469faea2f4ac.tar.bz2
gpt4free-77697be33381a01350d0818ff069469faea2f4ac.tar.lz
gpt4free-77697be33381a01350d0818ff069469faea2f4ac.tar.xz
gpt4free-77697be33381a01350d0818ff069469faea2f4ac.tar.zst
gpt4free-77697be33381a01350d0818ff069469faea2f4ac.zip
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py15
1 files changed, 6 insertions, 9 deletions
diff --git a/setup.py b/setup.py
index 2e83cc82..5fb56896 100644
--- a/setup.py
+++ b/setup.py
@@ -11,10 +11,7 @@ with codecs.open(os.path.join(here, "README.md"), encoding="utf-8") as fh:
with open("requirements.txt") as f:
required = f.read().splitlines()
-with open("etc/interference/requirements.txt") as f:
- api_required = f.read().splitlines()
-
-VERSION = '0.1.6.1'
+VERSION = "0.1.6.1"
DESCRIPTION = (
"The official gpt4free repository | various collection of powerful language models"
)
@@ -29,13 +26,13 @@ setup(
long_description_content_type="text/markdown",
long_description=long_description,
packages=find_packages(),
- package_data={"g4f": ["g4f/gui/client/*", "g4f/gui/server/*"]},
+ package_data={
+ "g4f": ["g4f/interference/*", "g4f/gui/client/*", "g4f/gui/server/*"]
+ },
include_package_data=True,
- data_files=["etc/interference/app.py"],
install_requires=required,
- extras_require={"api": api_required},
entry_points={
- "console_scripts": ["g4f=interference.app:main"],
+ "console_scripts": ["g4f=g4f.cli:main"],
},
url="https://github.com/xtekky/gpt4free", # Link to your GitHub repository
project_urls={
@@ -75,4 +72,4 @@ setup(
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
],
-) \ No newline at end of file
+)