setup.py 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. 'filedepot',
  20. 'babel',
  21. 'alembic',
  22. ]
  23. tests_require = [
  24. 'WebTest >= 1.3.1', # py3 compat
  25. 'pytest',
  26. 'pytest-cov',
  27. 'nose',
  28. ]
  29. setup(
  30. name='tracim',
  31. version='0.0',
  32. description='tracim',
  33. long_description=README + '\n\n' + CHANGES,
  34. classifiers=[
  35. 'Programming Language :: Python',
  36. 'Framework :: Pyramid',
  37. 'Topic :: Internet :: WWW/HTTP',
  38. 'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
  39. ],
  40. author='',
  41. author_email='',
  42. url='',
  43. keywords='web pyramid pylons',
  44. packages=find_packages(),
  45. include_package_data=True,
  46. zip_safe=False,
  47. extras_require={
  48. 'testing': tests_require,
  49. },
  50. install_requires=requires,
  51. entry_points={
  52. 'paste.app_factory': [
  53. 'main = tracim:main',
  54. ],
  55. 'console_scripts': [
  56. 'initialize_tracim_db = tracim.scripts.initializedb:main',
  57. ],
  58. },
  59. )