comparison setup.py @ 44:8addd6e12b29

corename
author Jeff Hammel <k0scist@gmail.com>
date Wed, 11 Mar 2015 10:15:20 -0700
parents 1a80204bd562
children 3691ffa84a3a
comparison
equal deleted inserted replaced
43:21b6a9569f21 44:8addd6e12b29
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 indent = textshaper.indent:main 16 corenames = textshaper.corename:main
17 onelineit = textshaper.onelineit:main 17 indent = textshaper.indent:main
18 quote = textshaper.quote:main 18 onelineit = textshaper.onelineit:main
19 textshaper = textshaper.main:main 19 quote = textshaper.quote:main
20 url2txt = textshaper.url2txt:main 20 textshaper = textshaper.main:main
21 url2txt = textshaper.url2txt:main
21 """ 22 """
22 kw['install_requires'] = dependencies 23 kw['install_requires'] = dependencies
23 except ImportError: 24 except ImportError:
24 from distutils.core import setup 25 from distutils.core import setup
25 kw['requires'] = dependencies 26 kw['requires'] = dependencies