comparison setup.py @ 12:421d5119e324

reluctantly make this a CLI entry point
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 10 Dec 2012 17:30:44 -0800
parents 5abe00d24a2f
children 7459702bf574
comparison
equal deleted inserted replaced
11:7b8e40eda563 12:421d5119e324
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 wsgraph = wsgraph.web:main
16 """ 17 """
17 kw['install_requires'] = dependencies 18 kw['install_requires'] = dependencies
18 except ImportError: 19 except ImportError:
19 from distutils.core import setup 20 from distutils.core import setup
20 kw['requires'] = dependencies 21 kw['requires'] = dependencies