setup.py 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # -*- coding: utf-8 -*-
  2. import os
  3. from setuptools import setup, find_packages
  4. from misago import __version__ as version
  5. SETUP_DIR = os.path.dirname(__file__)
  6. with open(os.path.join(SETUP_DIR, "README.rst"), "rb") as f:
  7. README = f.read().decode("utf-8")
  8. with open(os.path.join(SETUP_DIR, "requirements.txt"), "r") as f:
  9. REQUIREMENTS = f.read()
  10. # allow setup.py to be run from any path
  11. os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
  12. setup(
  13. name="Misago",
  14. version=version,
  15. license="GPLv2",
  16. description=(
  17. "Misago is modern, fully featured forum application written in "
  18. "Python and ES6, powered by Django and React.js. It works out of "
  19. "the box and can be run alone or be connected to existing site "
  20. "with built in OAuth 2 client."
  21. ),
  22. long_description=README,
  23. url="http://www.misago-project.org/",
  24. author=u"Rafał Pitoń",
  25. author_email="kontakt@rpiton.com",
  26. install_requires=REQUIREMENTS,
  27. packages=find_packages(),
  28. include_package_data=True,
  29. classifiers=[
  30. "Development Status :: 4 - Beta",
  31. "Environment :: Web Environment",
  32. "Framework :: Django",
  33. "Intended Audience :: Developers",
  34. "Intended Audience :: System Administrators",
  35. "License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
  36. "Operating System :: OS Independent",
  37. "Programming Language :: Python",
  38. "Programming Language :: Python :: 3.11",
  39. "Topic :: Internet :: WWW/HTTP",
  40. "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
  41. "Topic :: Internet :: WWW/HTTP :: WSGI",
  42. "Topic :: Software Development :: Libraries :: Application Frameworks",
  43. "Topic :: Software Development :: Libraries :: Python Modules",
  44. ],
  45. )