view setup.py @ 217:4f5fc5c72aee

Extend upgrade test to check permissions.
author Daniele Nicolodi <daniele@grinta.net>
date Mon, 21 Nov 2011 16:10:15 +0100
parents 3d524d31d1c2
children a5f5caf65dd5
line wrap: on
line source

from setuptools import setup, find_packages

version = '0.5dev'

requires = [
    'distribute',
    'Flask',
    'WTForms',
    'itsdangerous',
    'python-dateutil < 2.0',
]

try:
    import argparse
except ImportError:
    # we have python < 2.7
    requires.append('argparse')

try:
    from collections import OrderedDict
except ImportError:
    # we have python < 2.7
    requires.append('ordereddict')


setup(name='ltpdarepo',
      version=version,
      keywords='',
      author='Daniele Nicolodi',
      author_email='nicolodi@science.unitn.it',
      url='http://dev.grinta.net/hg/ltpdarepo/',
      license='AGPLv3+',

      packages=find_packages(),
      package_dir={'': 'src'},
      include_package_data=True,
      package_data={'': ['*.txt', '*.rst', '*.sql']},
      zip_safe=False,
      install_requires=requires,
      entry_points={
          'console_scripts': [
              'run = ltpdarepo:main',
              'admin = ltpdarepo.admin:main', ]
          }
      )