comparison setup.py @ 1:5abe00d24a2f

make setup.py accurate
author Jeff Hammel <jhammel@mozilla.com>
date Sun, 09 Dec 2012 10:25:50 -0800
parents cfcfa093e4b4
children 421d5119e324
comparison
equal deleted inserted replaced
0:cfcfa093e4b4 1:5abe00d24a2f
3 """ 3 """
4 4
5 import os 5 import os
6 6
7 version = "0.0" 7 version = "0.0"
8 dependencies = ['MakeItSo', 'webob'] 8 dependencies = ['webob']
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 WSGraph = WSGraph.main:main
17 WSGraph-template = WSGraph.template:main
18 """ 16 """
19 kw['install_requires'] = dependencies 17 kw['install_requires'] = dependencies
20 except ImportError: 18 except ImportError:
21 from distutils.core import setup 19 from distutils.core import setup
22 kw['requires'] = dependencies 20 kw['requires'] = dependencies
34 long_description=description, 32 long_description=description,
35 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers 33 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
36 author='Jeff Hammel', 34 author='Jeff Hammel',
37 author_email='jhammel@mozilla.com', 35 author_email='jhammel@mozilla.com',
38 url='http://k0s.org/hg/WSGraph', 36 url='http://k0s.org/hg/WSGraph',
39 license='', 37 license='MPL',
40 packages=['wsgraph'], 38 packages=['wsgraph'],
41 include_package_data=True, 39 include_package_data=True,
42 zip_safe=False, 40 zip_safe=False,
43 **kw 41 **kw
44 ) 42 )