Mercurial > hg > PaInt
comparison setup.py @ 26:8beffeb750b3
begin to add command parser
| author | Jeff Hammel <jhammel@mozilla.com> |
|---|---|
| date | Fri, 30 Mar 2012 10:02:08 -0700 |
| parents | 90ef5d1ebff3 |
| children | c44fb4b6918b |
comparison
equal
deleted
inserted
replaced
| 25:c54411c721cb | 26:8beffeb750b3 |
|---|---|
| 3 """ | 3 """ |
| 4 | 4 |
| 5 import os | 5 import os |
| 6 | 6 |
| 7 version = "0.0" | 7 version = "0.0" |
| 8 dependencies = ['virtualenv >= 1.7.1.2', 'pip >= 1.1', 'pkginfo'] | 8 dependencies = ['virtualenv >= 1.7.1.2', 'pip >= 1.1', 'pkginfo', 'CommandParser'] |
| 9 | 9 |
| 10 # allow use of setuptools/distribute or distutils | 10 # allow use of setuptools/distribute or distutils |
| 11 kw = {} | 11 kw = {} |
| 12 try: | 12 try: |
| 13 from setuptools import setup | 13 from setuptools import setup |
| 14 kw['entry_points'] = """ | 14 kw['entry_points'] = """ |
| 15 [console_scripts] | 15 [console_scripts] |
| 16 python-package = PaInt.main:main | 16 python-package = paint.main:main |
| 17 """ | 17 """ |
| 18 kw['install_requires'] = dependencies | 18 kw['install_requires'] = dependencies |
| 19 except ImportError: | 19 except ImportError: |
| 20 from distutils.core import setup | 20 from distutils.core import setup |
| 21 kw['requires'] = dependencies | 21 kw['requires'] = dependencies |
