From 77697be33381a01350d0818ff069469faea2f4ac Mon Sep 17 00:00:00 2001 From: Arran Hobson Sayers Date: Thu, 12 Oct 2023 02:35:11 +0100 Subject: Unify g4f tools into one CLI --- setup.py | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'setup.py') 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 +) -- cgit v1.2.3