setup.py 1.8 KB

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