setup.py 2.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. # -*- coding: utf-8 -*-
  2. # quickstarted Options:
  3. # sqlalchemy: True
  4. # auth: sqlalchemy
  5. # mako: True
  6. try:
  7. from setuptools import setup, find_packages
  8. except ImportError:
  9. from ez_setup import use_setuptools
  10. use_setuptools()
  11. from setuptools import setup, find_packages
  12. classifiers = [
  13. "License :: OSI Approved :: MIT License",
  14. "Programming Language :: Python",
  15. "Programming Language :: Python :: 3.4",
  16. "Programming Language :: Python :: 3.5",
  17. "Programming Language :: Python :: 3.6",
  18. ]
  19. testpkgs = [
  20. 'WebTest >= 1.2.3',
  21. 'nose',
  22. 'coverage',
  23. 'gearbox',
  24. ]
  25. install_requires = [
  26. 'TurboGears2==2.3.7',
  27. 'Genshi',
  28. 'Mako',
  29. 'zope.sqlalchemy >= 0.4',
  30. 'sqlalchemy',
  31. 'alembic',
  32. 'repoze.who',
  33. 'who_ldap>=3.2.1',
  34. 'python-ldap-test==0.2.1',
  35. 'unicode-slugify==0.1.3',
  36. 'pytz==2014.7',
  37. 'rq==0.7.1',
  38. 'filedepot>=0.5.0',
  39. 'preview-generator',
  40. ]
  41. setup(
  42. name='tracim',
  43. version='1.0.0',
  44. description=(
  45. 'Tracim is a plateform software designed to improve '
  46. 'traceability and productivity in collaborative work.'
  47. ),
  48. author='Damien ACCORSI',
  49. author_email='damien.accorsi@free.fr',
  50. url='https://github.com/tracim/tracim',
  51. packages=find_packages(exclude=['ez_setup']),
  52. install_requires=install_requires,
  53. include_package_data=True,
  54. test_suite='nose.collector',
  55. tests_require=testpkgs,
  56. package_data={
  57. 'tracim': [
  58. 'i18n/*/LC_MESSAGES/*.mo',
  59. 'templates/*/*',
  60. 'public/*/*',
  61. ]
  62. },
  63. message_extractors={
  64. 'tracim': [
  65. ('**.py', 'python', None),
  66. ('templates/**.mak', 'mako', {'input_encoding': 'utf-8'}),
  67. ('public/**', 'ignore', None)
  68. ]
  69. },
  70. entry_points={
  71. 'paste.app_factory': [
  72. 'main = tracim.config.middleware:make_app'
  73. ],
  74. 'gearbox.plugins': [
  75. 'turbogears-devtools = tg.devtools'
  76. ],
  77. 'gearbox.commands': [
  78. 'ldap_server = tracim.command.ldap_test_server:LDAPTestServerCommand',
  79. 'user_create = tracim.command.user:CreateUserCommand',
  80. 'user_update = tracim.command.user:UpdateUserCommand',
  81. 'mail sender = tracim.command.mail:MailSenderCommend',
  82. ]
  83. },
  84. zip_safe=False,
  85. )