Mercurial > hg > simpypi
comparison setup.py @ 70:8fa30276b3e0
add a command line entry point
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 02 Mar 2012 10:37:31 -0800 |
parents | f8ff95180d04 |
children | ca92de52aa33 |
comparison
equal
deleted
inserted
replaced
69:10f343c483ee | 70:8fa30276b3e0 |
---|---|
3 try: | 3 try: |
4 description = file('README.txt').read() | 4 description = file('README.txt').read() |
5 except IOError: | 5 except IOError: |
6 description = '' | 6 description = '' |
7 | 7 |
8 version = "0.0" | 8 version = "0.1" |
9 | 9 |
10 setup(name='simpypi', | 10 setup(name='simpypi', |
11 version=version, | 11 version=version, |
12 description="Simple pypi package", | 12 description="Simple pypi package", |
13 long_description=description, | 13 long_description=description, |
24 'WebOb', | 24 'WebOb', |
25 'FileServer' | 25 'FileServer' |
26 ], | 26 ], |
27 entry_points=""" | 27 entry_points=""" |
28 # -*- Entry points: -*- | 28 # -*- Entry points: -*- |
29 [console_scripts] | |
30 simpypi = simpypi.factory:main | |
29 """, | 31 """, |
30 ) | 32 ) |