Mercurial > hg > TextShaper
comparison setup.py @ 3:925a7959cd0b
stub
| author | Jeff Hammel <jhammel@mozilla.com> |
|---|---|
| date | Mon, 23 Sep 2013 00:04:00 -0700 |
| parents | 53cfd6e1ad0f |
| children | 497b29bba41b |
comparison
equal
deleted
inserted
replaced
| 2:e5adf3414c6b | 3:925a7959cd0b |
|---|---|
| 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 TextShaper = TextShaper.main:main | 16 textshaper = textshaper.main:main |
| 17 TextShaper-template = TextShaper.template:main | |
| 18 """ | 17 """ |
| 19 kw['install_requires'] = dependencies | 18 kw['install_requires'] = dependencies |
| 20 except ImportError: | 19 except ImportError: |
| 21 from distutils.core import setup | 20 from distutils.core import setup |
| 22 kw['requires'] = dependencies | 21 kw['requires'] = dependencies |
| 34 long_description=description, | 33 long_description=description, |
| 35 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers | 34 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers |
| 36 author='Jeff Hammel', | 35 author='Jeff Hammel', |
| 37 author_email='jhammel@mozilla.com', | 36 author_email='jhammel@mozilla.com', |
| 38 url='http://k0s.org/hg/TextShaper', | 37 url='http://k0s.org/hg/TextShaper', |
| 39 license='', | 38 license='MPL2', |
| 40 packages=['textshaper'], | 39 packages=['textshaper'], |
| 41 include_package_data=True, | 40 include_package_data=True, |
| 42 zip_safe=False, | 41 zip_safe=False, |
| 43 **kw | 42 **kw |
| 44 ) | 43 ) |
