Mercurial > hg > ltpdarepo
annotate setup.py @ 220:a5f5caf65dd5
Add MANIFEST.in to list all distributed source files.
author | Daniele Nicolodi <daniele@grinta.net> |
---|---|
date | Mon, 21 Nov 2011 16:10:19 +0100 |
parents | 3d524d31d1c2 |
children | 951bc04dfb19 |
rev | line source |
---|---|
213
3d524d31d1c2
Move setup.py to better location.
Daniele Nicolodi <daniele@grinta.net>
parents:
212
diff
changeset
|
1 from setuptools import setup, find_packages |
0 | 2 |
212 | 3 version = '0.5dev' |
4 | |
5 requires = [ | |
6 'distribute', | |
7 'Flask', | |
8 'WTForms', | |
9 'itsdangerous', | |
10 'python-dateutil < 2.0', | |
11 ] | |
12 | |
13 try: | |
14 import argparse | |
15 except ImportError: | |
16 # we have python < 2.7 | |
17 requires.append('argparse') | |
100
3024c77310d1
Minor cleanup of setup.py.
Daniele Nicolodi <daniele@grinta.net>
parents:
50
diff
changeset
|
18 |
212 | 19 try: |
20 from collections import OrderedDict | |
21 except ImportError: | |
22 # we have python < 2.7 | |
23 requires.append('ordereddict') | |
24 | |
25 | |
26 setup(name='ltpdarepo', | |
27 version=version, | |
28 keywords='', | |
29 author='Daniele Nicolodi', | |
30 author_email='nicolodi@science.unitn.it', | |
31 url='http://dev.grinta.net/hg/ltpdarepo/', | |
32 license='AGPLv3+', | |
33 | |
213
3d524d31d1c2
Move setup.py to better location.
Daniele Nicolodi <daniele@grinta.net>
parents:
212
diff
changeset
|
34 packages=find_packages(), |
3d524d31d1c2
Move setup.py to better location.
Daniele Nicolodi <daniele@grinta.net>
parents:
212
diff
changeset
|
35 package_dir={'': 'src'}, |
212 | 36 include_package_data=True, |
37 zip_safe=False, | |
38 install_requires=requires, | |
39 entry_points={ | |
40 'console_scripts': [ | |
41 'run = ltpdarepo:main', | |
42 'admin = ltpdarepo.admin:main', ] | |
43 } | |
44 ) |