setup.py 2.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. # -*- coding: utf-8 -*-
  2. #quickstarted Options:
  3. #
  4. # sqlalchemy: True
  5. # auth: sqlalchemy
  6. # mako: True
  7. #
  8. #
  9. #This is just a work-around for a Python2.7 issue causing
  10. #interpreter crash at exit when trying to log an info message.
  11. try:
  12. import logging
  13. import multiprocessing
  14. except:
  15. pass
  16. import sys
  17. py_version = sys.version_info[:2]
  18. try:
  19. from setuptools import setup, find_packages
  20. except ImportError:
  21. from ez_setup import use_setuptools
  22. use_setuptools()
  23. from setuptools import setup, find_packages
  24. testpkgs=['WebTest >= 1.2.3',
  25. 'nose',
  26. 'coverage',
  27. 'gearbox'
  28. ]
  29. install_requires=[
  30. "TurboGears2==2.3.7",
  31. "Genshi",
  32. "Mako",
  33. "zope.sqlalchemy >= 0.4",
  34. "sqlalchemy",
  35. "alembic",
  36. "repoze.who",
  37. "who-ldap==3.1.0",
  38. "python-ldap-test==0.2.1",
  39. "unicode-slugify==0.1.3",
  40. "pytz==2014.7",
  41. ]
  42. setup(
  43. name='tracim',
  44. version='1.0.0',
  45. description='Tracim is plateform software designed to improve traceability and productivity in collaborative work.',
  46. author='Damien ACCORSI',
  47. author_email='damien.accorsi@free.fr',
  48. url='https://github.com/tracim/tracim',
  49. packages=find_packages(exclude=['ez_setup']),
  50. install_requires=install_requires,
  51. include_package_data=True,
  52. test_suite='nose.collector',
  53. tests_require=testpkgs,
  54. package_data={'tracim': ['i18n/*/LC_MESSAGES/*.mo',
  55. 'templates/*/*',
  56. 'public/*/*']},
  57. message_extractors={'tracim': [
  58. ('**.py', 'python', None),
  59. ('templates/**.mak', 'mako', {'input_encoding': 'utf-8'}),
  60. ('public/**', 'ignore', None)]},
  61. entry_points={
  62. 'paste.app_factory': [
  63. 'main = tracim.config.middleware:make_app'
  64. ],
  65. 'gearbox.plugins': [
  66. 'turbogears-devtools = tg.devtools'
  67. ],
  68. 'gearbox.commands': [
  69. 'ldap_server = tracim.command.ldap_test_server:LDAPTestServerCommand',
  70. 'user_create = tracim.command.user:CreateUserCommand',
  71. 'user_update = tracim.command.user:UpdateUserCommand',
  72. ]
  73. },
  74. dependency_links=[
  75. "http://tg.gy/230",
  76. ],
  77. zip_safe=False
  78. )