setup.py 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. import os
  2. import codecs
  3. from setuptools import setup, find_packages
  4. import build_django
  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 = build_django.__version__
  9. AUTHOR = build_django.__author__
  10. DESCRIPTION = 'Command line utility for building Django projects'
  11. # Setting up
  12. setup(
  13. name="build-django",
  14. version=VERSION,
  15. author=AUTHOR,
  16. description=DESCRIPTION,
  17. url='https://notabug.org/kapustlo/build-django',
  18. long_description_content_type="text/markdown",
  19. long_description=long_description,
  20. packages=find_packages(),
  21. keywords=['python', 'django', 'build', 'cli', 'generate', 'code'],
  22. entry_points={
  23. 'console_scripts': [
  24. 'build-django=build_django.__main__:main'
  25. ]
  26. },
  27. classifiers=[
  28. "Framework :: Django",
  29. "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
  30. "Topic :: Software Development :: Code Generators",
  31. "Environment :: Console",
  32. "Development Status :: 5 - Production/Stable",
  33. "Intended Audience :: Developers",
  34. "Programming Language :: Python :: 3.9",
  35. "Operating System :: POSIX :: Linux",
  36. "Natural Language :: English"
  37. ],
  38. python_requires=">=3.9",
  39. install_requires=(
  40. 'django',
  41. 'aiofiles'
  42. )
  43. )