setup.py 1.4KB

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