setup.py 2.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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. 'rq==0.7.1',
  42. ]
  43. setup(
  44. name='tracim',
  45. version='1.0.0',
  46. description='Tracim is plateform software designed to improve traceability and productivity in collaborative work.',
  47. author='Damien ACCORSI',
  48. author_email='damien.accorsi@free.fr',
  49. url='https://github.com/tracim/tracim',
  50. packages=find_packages(exclude=['ez_setup']),
  51. install_requires=install_requires,
  52. include_package_data=True,
  53. test_suite='nose.collector',
  54. tests_require=testpkgs,
  55. package_data={'tracim': ['i18n/*/LC_MESSAGES/*.mo',
  56. 'templates/*/*',
  57. 'public/*/*']},
  58. message_extractors={'tracim': [
  59. ('**.py', 'python', None),
  60. ('templates/**.mak', 'mako', {'input_encoding': 'utf-8'}),
  61. ('public/**', 'ignore', None)]},
  62. entry_points={
  63. 'paste.app_factory': [
  64. 'main = tracim.config.middleware:make_app'
  65. ],
  66. 'gearbox.plugins': [
  67. 'turbogears-devtools = tg.devtools'
  68. ],
  69. 'gearbox.commands': [
  70. 'ldap_server = tracim.command.ldap_test_server:LDAPTestServerCommand',
  71. 'user_create = tracim.command.user:CreateUserCommand',
  72. 'user_update = tracim.command.user:UpdateUserCommand',
  73. 'mail sender = tracim.command.mail:MailSenderCommend',
  74. ]
  75. },
  76. dependency_links=[
  77. "http://tg.gy/230",
  78. ],
  79. zip_safe=False
  80. )