|  | @@ -1,23 +1,8 @@
 | 
	
		
			
			| 1 | 1 |  # -*- coding: utf-8 -*-
 | 
	
		
			
			| 2 |  | -#quickstarted Options:
 | 
	
		
			
			| 3 |  | -#
 | 
	
		
			
			| 4 |  | -# sqlalchemy: True
 | 
	
		
			
			| 5 |  | -# auth:       sqlalchemy
 | 
	
		
			
			| 6 |  | -# mako:       True
 | 
	
		
			
			| 7 |  | -#
 | 
	
		
			
			| 8 |  | -#
 | 
	
		
			
			| 9 |  | -
 | 
	
		
			
			| 10 |  | -#This is just a work-around for a Python2.7 issue causing
 | 
	
		
			
			| 11 |  | -#interpreter crash at exit when trying to log an info message.
 | 
	
		
			
			| 12 |  | -try:
 | 
	
		
			
			| 13 |  | -    import logging
 | 
	
		
			
			| 14 |  | -    import multiprocessing
 | 
	
		
			
			| 15 |  | -except:
 | 
	
		
			
			| 16 |  | -    pass
 | 
	
		
			
			| 17 |  | -
 | 
	
		
			
			| 18 |  | -import sys
 | 
	
		
			
			| 19 |  | -py_version = sys.version_info[:2]
 | 
	
		
			
			| 20 |  | -
 | 
	
		
			
			|  | 2 | +# quickstarted Options:
 | 
	
		
			
			|  | 3 | +#  sqlalchemy: True
 | 
	
		
			
			|  | 4 | +#  auth:       sqlalchemy
 | 
	
		
			
			|  | 5 | +#  mako:       True
 | 
	
		
			
			| 21 | 6 |  try:
 | 
	
		
			
			| 22 | 7 |      from setuptools import setup, find_packages
 | 
	
		
			
			| 23 | 8 |  except ImportError:
 | 
	
	
		
			
			|  | @@ -25,6 +10,7 @@ except ImportError:
 | 
	
		
			
			| 25 | 10 |      use_setuptools()
 | 
	
		
			
			| 26 | 11 |      from setuptools import setup, find_packages
 | 
	
		
			
			| 27 | 12 |  
 | 
	
		
			
			|  | 13 | +
 | 
	
		
			
			| 28 | 14 |  classifiers = [
 | 
	
		
			
			| 29 | 15 |      "License :: OSI Approved :: MIT License",
 | 
	
		
			
			| 30 | 16 |      "Programming Language :: Python",
 | 
	
	
		
			
			|  | @@ -33,33 +19,37 @@ classifiers = [
 | 
	
		
			
			| 33 | 19 |      "Programming Language :: Python :: 3.6",
 | 
	
		
			
			| 34 | 20 |  ]
 | 
	
		
			
			| 35 | 21 |  
 | 
	
		
			
			| 36 |  | -testpkgs=['WebTest >= 1.2.3',
 | 
	
		
			
			| 37 |  | -               'nose',
 | 
	
		
			
			| 38 |  | -               'coverage',
 | 
	
		
			
			| 39 |  | -               'gearbox'
 | 
	
		
			
			| 40 |  | -               ]
 | 
	
		
			
			|  | 22 | +testpkgs = [
 | 
	
		
			
			|  | 23 | +    'WebTest >= 1.2.3',
 | 
	
		
			
			|  | 24 | +    'nose',
 | 
	
		
			
			|  | 25 | +    'coverage',
 | 
	
		
			
			|  | 26 | +    'gearbox',
 | 
	
		
			
			|  | 27 | +]
 | 
	
		
			
			| 41 | 28 |  
 | 
	
		
			
			| 42 |  | -install_requires=[
 | 
	
		
			
			| 43 |  | -    "TurboGears2==2.3.7",
 | 
	
		
			
			| 44 |  | -    "Genshi",
 | 
	
		
			
			| 45 |  | -    "Mako",
 | 
	
		
			
			| 46 |  | -    "zope.sqlalchemy >= 0.4",
 | 
	
		
			
			| 47 |  | -    "sqlalchemy",
 | 
	
		
			
			| 48 |  | -    "alembic",
 | 
	
		
			
			| 49 |  | -    "repoze.who",
 | 
	
		
			
			| 50 |  | -    "who_ldap>=3.2.1",
 | 
	
		
			
			| 51 |  | -    "python-ldap-test==0.2.1",
 | 
	
		
			
			| 52 |  | -    "unicode-slugify==0.1.3",
 | 
	
		
			
			| 53 |  | -    "pytz==2014.7",
 | 
	
		
			
			|  | 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.2.1',
 | 
	
		
			
			|  | 38 | +    'python-ldap-test==0.2.1',
 | 
	
		
			
			|  | 39 | +    'unicode-slugify==0.1.3',
 | 
	
		
			
			|  | 40 | +    'pytz==2014.7',
 | 
	
		
			
			| 54 | 41 |      'rq==0.7.1',
 | 
	
		
			
			| 55 | 42 |      'filedepot>=0.5.0',
 | 
	
		
			
			| 56 |  | -    'preview-generator'
 | 
	
		
			
			| 57 |  | -    ]
 | 
	
		
			
			|  | 43 | +    'preview-generator',
 | 
	
		
			
			|  | 44 | +]
 | 
	
		
			
			| 58 | 45 |  
 | 
	
		
			
			| 59 | 46 |  setup(
 | 
	
		
			
			| 60 | 47 |      name='tracim',
 | 
	
		
			
			| 61 | 48 |      version='1.0.0',
 | 
	
		
			
			| 62 |  | -    description='Tracim is plateform software designed to improve traceability and productivity in collaborative work.',
 | 
	
		
			
			|  | 49 | +    description=(
 | 
	
		
			
			|  | 50 | +        'Tracim is a plateform software designed to improve '
 | 
	
		
			
			|  | 51 | +        'traceability and productivity in collaborative work.'
 | 
	
		
			
			|  | 52 | +    ),
 | 
	
		
			
			| 63 | 53 |      author='Damien ACCORSI',
 | 
	
		
			
			| 64 | 54 |      author_email='damien.accorsi@free.fr',
 | 
	
		
			
			| 65 | 55 |      url='https://github.com/tracim/tracim',
 | 
	
	
		
			
			|  | @@ -68,14 +58,20 @@ setup(
 | 
	
		
			
			| 68 | 58 |      include_package_data=True,
 | 
	
		
			
			| 69 | 59 |      test_suite='nose.collector',
 | 
	
		
			
			| 70 | 60 |      tests_require=testpkgs,
 | 
	
		
			
			| 71 |  | -    package_data={'tracim': ['i18n/*/LC_MESSAGES/*.mo',
 | 
	
		
			
			| 72 |  | -                                 'templates/*/*',
 | 
	
		
			
			| 73 |  | -                                 'public/*/*']},
 | 
	
		
			
			| 74 |  | -    message_extractors={'tracim': [
 | 
	
		
			
			|  | 61 | +    package_data={
 | 
	
		
			
			|  | 62 | +        'tracim': [
 | 
	
		
			
			|  | 63 | +            'i18n/*/LC_MESSAGES/*.mo',
 | 
	
		
			
			|  | 64 | +            'templates/*/*',
 | 
	
		
			
			|  | 65 | +            'public/*/*',
 | 
	
		
			
			|  | 66 | +        ]
 | 
	
		
			
			|  | 67 | +    },
 | 
	
		
			
			|  | 68 | +    message_extractors={
 | 
	
		
			
			|  | 69 | +        'tracim': [
 | 
	
		
			
			| 75 | 70 |              ('**.py', 'python', None),
 | 
	
		
			
			| 76 | 71 |              ('templates/**.mak', 'mako', {'input_encoding': 'utf-8'}),
 | 
	
		
			
			| 77 |  | -            ('public/**', 'ignore', None)]},
 | 
	
		
			
			| 78 |  | -
 | 
	
		
			
			|  | 72 | +            ('public/**', 'ignore', None)
 | 
	
		
			
			|  | 73 | +        ]
 | 
	
		
			
			|  | 74 | +    },
 | 
	
		
			
			| 79 | 75 |      entry_points={
 | 
	
		
			
			| 80 | 76 |          'paste.app_factory': [
 | 
	
		
			
			| 81 | 77 |              'main = tracim.config.middleware:make_app'
 | 
	
	
		
			
			|  | @@ -92,6 +88,6 @@ setup(
 | 
	
		
			
			| 92 | 88 |      },
 | 
	
		
			
			| 93 | 89 |      dependency_links=[
 | 
	
		
			
			| 94 | 90 |          'http://github.com/algoo/preview-generator/tarball/master#egg=preview_generator-1.0',
 | 
	
		
			
			| 95 |  | -        ],
 | 
	
		
			
			| 96 |  | -    zip_safe=False
 | 
	
		
			
			|  | 91 | +    ],
 | 
	
		
			
			|  | 92 | +    zip_safe=False,
 | 
	
		
			
			| 97 | 93 |  )
 |