setup.py 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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, 'requirements.txt'), "r") as f:
  7. REQUIREMENTS = [x.strip() for x in f.readlines()]
  8. # allow setup.py to be run from any path
  9. os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
  10. EXCLUDE_FROM_PACKAGES = [
  11. 'misago.project_template',
  12. 'misago.bin'
  13. ]
  14. setup(
  15. name='Misago',
  16. version=version,
  17. license='GNU General Public License v2 (GPLv2)',
  18. description=(
  19. "Misago is modern, fully featured forum application written in "
  20. "Python and ES6, powered by Django and React.js. It works out of "
  21. "the box and plays nicely with other projects like Django-CMS."
  22. ),
  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(exclude=EXCLUDE_FROM_PACKAGES),
  28. include_package_data=True,
  29. scripts=[
  30. 'misago/bin/misago-start.py',
  31. ],
  32. entry_points={'console_scripts': [
  33. 'misago-start = misago.core.setup:start_misago_project',
  34. ]},
  35. test_suite="runtests.runtests",
  36. classifiers=[
  37. 'Development Status :: 4 - Beta',
  38. 'Environment :: Web Environment',
  39. 'Framework :: Django',
  40. 'Intended Audience :: Developers',
  41. 'Intended Audience :: System Administrators',
  42. 'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
  43. 'Operating System :: OS Independent',
  44. 'Programming Language :: Python',
  45. 'Programming Language :: Python :: 2.7',
  46. 'Programming Language :: Python :: 3.4',
  47. 'Programming Language :: Python :: 3.5',
  48. 'Programming Language :: Python :: 3.6',
  49. 'Topic :: Internet :: WWW/HTTP',
  50. 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
  51. "Topic :: Internet :: WWW/HTTP :: WSGI",
  52. "Topic :: Software Development :: Libraries :: Application Frameworks",
  53. "Topic :: Software Development :: Libraries :: Python Modules",
  54. ],
  55. )