comparison setup.py @ 0:a41537c4284f

stub
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 29 Mar 2012 16:44:35 -0700
parents
children 48aa5a9ef7e1
comparison
equal deleted inserted replaced
-1:000000000000 0:a41537c4284f
1 """
2 setup packaging script for CommandParser
3 """
4
5 import os
6
7 version = "0.0"
8 dependencies = []
9
10 # allow use of setuptools/distribute or distutils
11 kw = {}
12 try:
13 from setuptools import setup
14 kw['entry_points'] = """
15 [console_scripts]
16 """
17 kw['install_requires'] = dependencies
18 except ImportError:
19 from distutils.core import setup
20 kw['requires'] = dependencies
21
22 try:
23 here = os.path.dirname(os.path.abspath(__file__))
24 description = file(os.path.join(here, 'README.txt')).read()
25 except IOError:
26 description = ''
27
28
29 setup(name='CommandParser',
30 version=version,
31 description="change objects to OptionParser instances via reflection",
32 long_description=description,
33 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
34 author='Jeff Hammel',
35 author_email='jhammel@mozilla.com',
36 url='http://k0s.org/hg/CommandParser',
37 license='',
38 packages=['commandparser'],
39 include_package_data=True,
40 zip_safe=False,
41 **kw
42 )