Mercurial > hg > fetch
annotate setup.py @ 28:5ecb6507931b
fix vcs fetchers to almost follow a pattern
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 14 Nov 2011 22:12:49 -0800 |
parents | 3fee8ecd1af8 |
children |
rev | line source |
---|---|
0 | 1 import os |
2 from setuptools import setup, find_packages | |
3 | |
4 try: | |
5 here = os.path.dirname(os.path.abspath(__file__)) | |
6 description = file(os.path.join(here, 'README.txt')).read() | |
7 except IOError: | |
8 description = '' | |
9 | |
10 version = "0.0" | |
1 | 11 dependencies = [] |
0 | 12 |
13 setup(name='fetch', | |
14 version=version, | |
15 description="fetch stuff from the interwebs", | |
16 long_description=description, | |
17 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers | |
18 author='Jeff Hammel', | |
19 author_email='jhammel@mozilla.com', | |
20 url='http://k0s.org/mozilla/fetch', | |
21 license='MPL', | |
13
3fee8ecd1af8
restructure while we still just have one module
Jeff Hammel <jhammel@mozilla.com>
parents:
1
diff
changeset
|
22 py_modules=['fetch'], |
0 | 23 include_package_data=True, |
24 zip_safe=False, | |
25 install_requires=dependencies, | |
26 entry_points=""" | |
27 # -*- Entry points: -*- | |
28 [console_scripts] | |
13
3fee8ecd1af8
restructure while we still just have one module
Jeff Hammel <jhammel@mozilla.com>
parents:
1
diff
changeset
|
29 fetch = fetch:main |
0 | 30 """, |
31 ) | |
32 | |
33 |