setup.py 1.9 KB

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