Mercurial > hg > MakeItSo
annotate makeitso/python_package/setup.py @ 117:de1ecefe301c
minor docstring correction
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 20 Jan 2011 17:59:37 -0800 |
parents | 908e9a653668 |
children | 0e18cdf36a0e |
rev | line source |
---|---|
102
ad5fd3eb6674
template fixes....not the best, but will do
Jeff Hammel <jhammel@mozilla.com>
parents:
80
diff
changeset
|
1 import os |
80 | 2 from setuptools import setup, find_packages |
3 | |
4 try: | |
102
ad5fd3eb6674
template fixes....not the best, but will do
Jeff Hammel <jhammel@mozilla.com>
parents:
80
diff
changeset
|
5 here = os.path.dirname(os.path.abspath(__file__)) |
ad5fd3eb6674
template fixes....not the best, but will do
Jeff Hammel <jhammel@mozilla.com>
parents:
80
diff
changeset
|
6 description = file(os.path.join(here, 'README.txt')).read() |
80 | 7 except IOError: |
8 description = '' | |
9 | |
10 version = "0.0" | |
11 | |
116
908e9a653668
fix a syntax error in the python template thanks to some friendly tests
Jeff Hammel <jhammel@mozilla.com>
parents:
109
diff
changeset
|
12 dependencies = {{dependencies}} |
109
697568ba4a22
make the python package template a little fancier
Jeff Hammel <jhammel@mozilla.com>
parents:
102
diff
changeset
|
13 |
80 | 14 setup(name='{{project}}', |
15 version=version, | |
16 description="{{description}}", | |
17 long_description=description, | |
18 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers | |
19 author='{{author}}', | |
20 author_email='{{email}}', | |
21 url='{{url}}', | |
102
ad5fd3eb6674
template fixes....not the best, but will do
Jeff Hammel <jhammel@mozilla.com>
parents:
80
diff
changeset
|
22 license='', |
80 | 23 packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), |
24 include_package_data=True, | |
25 zip_safe=False, | |
109
697568ba4a22
make the python package template a little fancier
Jeff Hammel <jhammel@mozilla.com>
parents:
102
diff
changeset
|
26 install_requires=dependencies, |
80 | 27 entry_points=""" |
28 # -*- Entry points: -*- | |
109
697568ba4a22
make the python package template a little fancier
Jeff Hammel <jhammel@mozilla.com>
parents:
102
diff
changeset
|
29 |
697568ba4a22
make the python package template a little fancier
Jeff Hammel <jhammel@mozilla.com>
parents:
102
diff
changeset
|
30 {{console_scripts}} |
80 | 31 """, |
32 ) | |
33 |