comparison setup.py @ 21:e6f680d25d63

migrate url2txt
author Jeff Hammel <k0scist@gmail.com>
date Sun, 23 Feb 2014 00:45:06 -0800
parents df52326aa08d
children 0930c6884f8a
comparison
equal deleted inserted replaced
20:09f4c09d9617 21:e6f680d25d63
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 url2txt = textshaper.url2txt:main
17 """ 18 """
18 kw['install_requires'] = dependencies 19 kw['install_requires'] = dependencies
19 except ImportError: 20 except ImportError:
20 from distutils.core import setup 21 from distutils.core import setup
21 kw['requires'] = dependencies 22 kw['requires'] = dependencies
31 version=version, 32 version=version,
32 description="package to shape text blocks ", 33 description="package to shape text blocks ",
33 long_description=description, 34 long_description=description,
34 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers 35 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
35 author='Jeff Hammel', 36 author='Jeff Hammel',
36 author_email='jhammel@mozilla.com', 37 author_email='k0scist@gmail.com',
37 url='http://k0s.org/hg/TextShaper', 38 url='http://k0s.org/hg/TextShaper',
38 license='MPL2', 39 license='MPL2',
39 packages=['textshaper'], 40 packages=['textshaper'],
40 include_package_data=True, 41 include_package_data=True,
41 zip_safe=False, 42 zip_safe=False,