setup.py 1.4KB

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