setup.py 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. import os
  2. from setuptools import setup, find_packages
  3. here = os.path.abspath(os.path.dirname(__file__))
  4. with open(os.path.join(here, 'README.txt')) as f:
  5. README = f.read()
  6. with open(os.path.join(here, 'CHANGES.txt')) as f:
  7. CHANGES = f.read()
  8. requires = [
  9. 'plaster_pastedeploy',
  10. 'pyramid >= 1.9a',
  11. 'pyramid_debugtoolbar',
  12. 'pyramid_jinja2',
  13. 'pyramid_retry',
  14. 'pyramid_tm',
  15. 'SQLAlchemy',
  16. 'transaction',
  17. 'zope.sqlalchemy',
  18. 'waitress',
  19. ]
  20. tests_require = [
  21. 'WebTest >= 1.3.1', # py3 compat
  22. 'pytest',
  23. 'pytest-cov',
  24. ]
  25. setup(
  26. name='tracim',
  27. version='0.0',
  28. description='tracim',
  29. long_description=README + '\n\n' + CHANGES,
  30. classifiers=[
  31. 'Programming Language :: Python',
  32. 'Framework :: Pyramid',
  33. 'Topic :: Internet :: WWW/HTTP',
  34. 'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
  35. ],
  36. author='',
  37. author_email='',
  38. url='',
  39. keywords='web pyramid pylons',
  40. packages=find_packages(),
  41. include_package_data=True,
  42. zip_safe=False,
  43. extras_require={
  44. 'testing': tests_require,
  45. },
  46. install_requires=requires,
  47. entry_points={
  48. 'paste.app_factory': [
  49. 'main = tracim:main',
  50. ],
  51. 'console_scripts': [
  52. 'initialize_tracim_db = tracim.scripts.initializedb:main',
  53. ],
  54. },
  55. )