setup.py 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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 plays nicely with other projects like Django-CMS."
  20. ),
  21. long_description=README,
  22. url='http://www.misago-project.org/',
  23. author=u'Rafał Pitoń',
  24. author_email='kontakt@rpiton.com',
  25. install_requires=REQUIREMENTS,
  26. packages=find_packages(),
  27. include_package_data=True,
  28. classifiers=[
  29. 'Development Status :: 4 - Beta',
  30. 'Environment :: Web Environment',
  31. 'Framework :: Django',
  32. 'Intended Audience :: Developers',
  33. 'Intended Audience :: System Administrators',
  34. 'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
  35. 'Operating System :: OS Independent',
  36. 'Programming Language :: Python',
  37. 'Programming Language :: Python :: 3.6',
  38. 'Topic :: Internet :: WWW/HTTP',
  39. 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
  40. "Topic :: Internet :: WWW/HTTP :: WSGI",
  41. "Topic :: Software Development :: Libraries :: Application Frameworks",
  42. "Topic :: Software Development :: Libraries :: Python Modules",
  43. ],
  44. )