setup.py 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. import codecs
  2. import os
  3. from setuptools import find_packages, setup
  4. here = os.path.abspath(os.path.dirname(__file__))
  5. with codecs.open(os.path.join(here, 'README.md'), encoding='utf-8') as fh:
  6. long_description = '\n' + fh.read()
  7. with open('requirements.txt') as f:
  8. required = f.read().splitlines()
  9. VERSION = '0.1.9.3'
  10. DESCRIPTION = (
  11. 'The official gpt4free repository | various collection of powerful language models'
  12. )
  13. # Setting up
  14. setup(
  15. name='g4f',
  16. version=VERSION,
  17. author='Tekky',
  18. author_email='<support@g4f.ai>',
  19. description=DESCRIPTION,
  20. long_description_content_type='text/markdown',
  21. long_description=long_description,
  22. packages=find_packages(),
  23. package_data={
  24. 'g4f': ['g4f/interference/*', 'g4f/gui/client/*', 'g4f/gui/server/*', 'g4f/Provider/npm/*']
  25. },
  26. include_package_data=True,
  27. install_requires=required,
  28. entry_points={
  29. 'console_scripts': ['g4f=g4f.cli:main'],
  30. },
  31. url='https://github.com/xtekky/gpt4free', # Link to your GitHub repository
  32. project_urls={
  33. 'Source Code': 'https://github.com/xtekky/gpt4free', # GitHub link
  34. 'Bug Tracker': 'https://github.com/xtekky/gpt4free/issues', # Link to issue tracker
  35. },
  36. keywords=[
  37. 'python',
  38. 'chatbot',
  39. 'reverse-engineering',
  40. 'openai',
  41. 'chatbots',
  42. 'gpt',
  43. 'language-model',
  44. 'gpt-3',
  45. 'gpt3',
  46. 'openai-api',
  47. 'gpt-4',
  48. 'gpt4',
  49. 'chatgpt',
  50. 'chatgpt-api',
  51. 'openai-chatgpt',
  52. 'chatgpt-free',
  53. 'chatgpt-4',
  54. 'chatgpt4',
  55. 'chatgpt4-api',
  56. 'free',
  57. 'free-gpt',
  58. 'gpt4free',
  59. 'g4f',
  60. ],
  61. classifiers=[
  62. 'Development Status :: 2 - Pre-Alpha',
  63. 'Intended Audience :: Developers',
  64. 'Programming Language :: Python :: 3',
  65. 'Operating System :: Unix',
  66. 'Operating System :: MacOS :: MacOS X',
  67. 'Operating System :: Microsoft :: Windows',
  68. ],
  69. )