Mercurial > hg > PaInt
annotate setup.py @ 43:5e2e74cc5ad8
misspellings that affect things on ancient python
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 30 Mar 2012 16:42:42 -0700 |
parents | f5379e8ee6c2 |
children | 14556787478c |
rev | line source |
---|---|
0 | 1 """ |
2 setup packaging script for PaInt | |
3 """ | |
4 | |
5 import os | |
6 | |
41
f5379e8ee6c2
give a version so i can pretend its real software
Jeff Hammel <jhammel@mozilla.com>
parents:
28
diff
changeset
|
7 version = "0.1" |
28 | 8 dependencies = ['virtualenv >= 1.7.1.2', 'pip >= 1.1', 'pkginfo', 'CommandParser >= 0.1.1'] |
0 | 9 |
10 # allow use of setuptools/distribute or distutils | |
11 kw = {} | |
12 try: | |
13 from setuptools import setup | |
14 kw['entry_points'] = """ | |
15 [console_scripts] | |
26
8beffeb750b3
begin to add command parser
Jeff Hammel <jhammel@mozilla.com>
parents:
23
diff
changeset
|
16 python-package = paint.main:main |
0 | 17 """ |
18 kw['install_requires'] = dependencies | |
19 except ImportError: | |
20 from distutils.core import setup | |
22
aad329df2548
go crazy nuts with dependencies
Jeff Hammel <jhammel@mozilla.com>
parents:
0
diff
changeset
|
21 kw['requires'] = dependencies |
0 | 22 |
23 try: | |
24 here = os.path.dirname(os.path.abspath(__file__)) | |
25 description = file(os.path.join(here, 'README.txt')).read() | |
26 except IOError: | |
27 description = '' | |
28 | |
29 setup(name='PaInt', | |
30 version=version, | |
31 description="python PAckage INTrospection", | |
32 long_description=description, | |
33 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers | |
34 author='Jeff Hammel', | |
35 author_email='jhammel@mozilla.com', | |
36 url='http://k0s.org/mozilla/hg/PaInt', | |
23 | 37 license='MPL', |
0 | 38 packages=['paint'], |
39 include_package_data=True, | |
40 zip_safe=False, | |
41 **kw | |
42 ) |