setup.py 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. import os
  2. import codecs
  3. from setuptools import setup, find_packages
  4. from bjcli import __version__, __author__
  5. here = os.path.abspath(os.path.dirname(__file__))
  6. with codecs.open(os.path.join(here, "README.md"), encoding="utf-8") as fh:
  7. long_description = "\n" + fh.read()
  8. VERSION = __version__
  9. AUTHOR = __author__
  10. DESCRIPTION = 'Simple command line utility to run Bjoern WSGI'
  11. # Setting up
  12. setup(
  13. name="bjcli",
  14. version=VERSION,
  15. author=AUTHOR,
  16. description=DESCRIPTION,
  17. url="https://notabug.org/kapustlo/bjcli",
  18. long_description_content_type="text/markdown",
  19. long_description=long_description,
  20. packages=find_packages(),
  21. keywords=['python', 'bjoern', 'cli', 'bjoern-cli', 'wsgi'],
  22. entry_points={
  23. 'console_scripts': [
  24. 'bjcli=bjcli.__main__:main'
  25. ]
  26. },
  27. classifiers=[
  28. "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
  29. "Topic :: Internet :: WWW/HTTP :: WSGI :: Server",
  30. "Environment :: Console",
  31. "Environment :: Web Environment",
  32. "Development Status :: 5 - Production/Stable",
  33. "Intended Audience :: Developers",
  34. "Programming Language :: Python :: 3.9",
  35. "Operating System :: Unix"
  36. ],
  37. python_requires=">=3.9",
  38. install_requires=[
  39. 'bjoern'
  40. ]
  41. )