Mercurial > hg > MakeItSo
comparison makeitso/python_package/setup.py @ 80:0300ed78d630
add a setup.py template
| author | Jeff Hammel <jhammel@mozilla.com> |
|---|---|
| date | Sat, 08 Jan 2011 20:54:41 -0800 |
| parents | |
| children | ad5fd3eb6674 |
comparison
equal
deleted
inserted
replaced
| 79:8c326f764cfe | 80:0300ed78d630 |
|---|---|
| 1 from setuptools import setup, find_packages | |
| 2 | |
| 3 try: | |
| 4 description = file('README.txt').read() | |
| 5 except IOError: | |
| 6 description = '' | |
| 7 | |
| 8 version = "0.0" | |
| 9 | |
| 10 setup(name='{{project}}', | |
| 11 version=version, | |
| 12 description="{{description}}", | |
| 13 long_description=description, | |
| 14 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers | |
| 15 author='{{author}}', | |
| 16 author_email='{{email}}', | |
| 17 url='{{url}}', | |
| 18 license='{{license}}' | |
| 19 packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), | |
| 20 include_package_data=True, | |
| 21 zip_safe=False, | |
| 22 install_requires=[ | |
| 23 # -*- Extra requirements: -*- | |
| 24 ], | |
| 25 entry_points=""" | |
| 26 # -*- Entry points: -*- | |
| 27 """, | |
| 28 ) | |
| 29 |
