setup.py 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. #-*- coding: utf-8 -*-
  2. import os
  3. from setuptools import setup
  4. from misago import __version__ as version
  5. README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
  6. with open(os.path.join(os.path.dirname(__file__), 'misago/project_template/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. setup(
  11. name='Misago',
  12. version=version,
  13. license='GNU General Public License v2 (GPLv2)',
  14. description='Misago is complete, featured and modern forum solution.',
  15. long_description=README,
  16. url='http://www.misago-project.org/',
  17. author=u'Rafał Pitoń',
  18. author_email='kontakt@rpiton.com',
  19. install_requires=REQUIREMENTS,
  20. packages=['misago'],
  21. include_package_data=True,
  22. scripts=['misago/bin/misago-start.py'],
  23. entry_points={'console_scripts': [
  24. 'misago-start = misago.core.setup:start_misago_project',
  25. ]},
  26. classifiers=[
  27. 'Development Status :: 2 - Pre-Alpha',
  28. 'Environment :: Web Environment',
  29. 'Framework :: Django',
  30. 'Intended Audience :: Developers',
  31. 'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
  32. 'Operating System :: OS Independent',
  33. 'Programming Language :: Python',
  34. 'Programming Language :: Python :: 2.7',
  35. 'Topic :: Internet :: WWW/HTTP',
  36. 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
  37. "Topic :: Internet :: WWW/HTTP :: WSGI",
  38. "Topic :: Software Development :: Libraries :: Application Frameworks",
  39. "Topic :: Software Development :: Libraries :: Python Modules",
  40. ],
  41. )