annotate makeitso/python_package/setup.py @ 102:ad5fd3eb6674

template fixes....not the best, but will do
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 11 Jan 2011 16:30:52 -0800
parents 0300ed78d630
children 697568ba4a22
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
0300ed78d630 add a setup.py template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
2 from setuptools import setup, find_packages
0300ed78d630 add a setup.py template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
3
0300ed78d630 add a setup.py template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
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
0300ed78d630 add a setup.py template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
7 except IOError:
0300ed78d630 add a setup.py template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
8 description = ''
0300ed78d630 add a setup.py template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
9
0300ed78d630 add a setup.py template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
10 version = "0.0"
0300ed78d630 add a setup.py template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
11
0300ed78d630 add a setup.py template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
12 setup(name='{{project}}',
0300ed78d630 add a setup.py template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
13 version=version,
0300ed78d630 add a setup.py template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
14 description="{{description}}",
0300ed78d630 add a setup.py template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
15 long_description=description,
0300ed78d630 add a setup.py template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
16 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
0300ed78d630 add a setup.py template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
17 author='{{author}}',
0300ed78d630 add a setup.py template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
18 author_email='{{email}}',
0300ed78d630 add a setup.py template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
19 url='{{url}}',
102
ad5fd3eb6674 template fixes....not the best, but will do
Jeff Hammel <jhammel@mozilla.com>
parents: 80
diff changeset
20 license='',
80
0300ed78d630 add a setup.py template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
21 packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
0300ed78d630 add a setup.py template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
22 include_package_data=True,
0300ed78d630 add a setup.py template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
23 zip_safe=False,
0300ed78d630 add a setup.py template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
24 install_requires=[
0300ed78d630 add a setup.py template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
25 # -*- Extra requirements: -*-
0300ed78d630 add a setup.py template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
26 ],
0300ed78d630 add a setup.py template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
27 entry_points="""
0300ed78d630 add a setup.py template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
28 # -*- Entry points: -*-
0300ed78d630 add a setup.py template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
29 """,
0300ed78d630 add a setup.py template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
30 )
0300ed78d630 add a setup.py template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
31