view setup.py @ 226:bec775b8c364

Add modwsgi activation instructions to README.
author Daniele Nicolodi <daniele@grinta.net>
date Thu, 24 Nov 2011 17:31:11 +0100
parents 9c2aa0e331e9
children 5c5f6d93d9d4
line wrap: on
line source

from setuptools import setup, find_packages

version = '0.6dev'

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,
      zip_safe=False,
      install_requires=requires,
      entry_points={
          'console_scripts': [
              'run = ltpdarepo:main',
              'admin = ltpdarepo.admin:main', ]
          }
      )