Mercurial > hg > ltpdarepo
annotate src/setup.py @ 25:04b93e15bb71
Rework command line administration tool.
Use 'argparse' module for command line parsing. Therefore add argparse
to installed eggs. Remove code duplication from admin.py and web
interface support classes.
author | Daniele Nicolodi <daniele@grinta.net> |
---|---|
date | Mon, 27 Jun 2011 16:16:07 +0200 |
parents | 0f59922d36d2 |
children | cd44da6ece8d |
rev | line source |
---|---|
0 | 1 from setuptools import setup |
2 | |
3 setup( | |
4 name='ltpdarepo', | |
5 version='0.1dev', | |
5
0f59922d36d2
Rename 'serve' commant to 'run'.
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
0
diff
changeset
|
6 entry_points={'console_scripts': [ 'run = ltpdarepo:main', |
0 | 7 'admin = ltpdarepo.admin:main', |
8 'test = ltpdarepo.tests:main']} | |
9 ) |