Mercurial > python-cmd2
comparison setup.py @ 311:54e2dd53ba38
excluded --options from --comments with .NotAny
author | catherine@bothari |
---|---|
date | Sun, 31 Jan 2010 08:18:15 -0500 |
parents | f5593299fc2a |
children | 466eaec2c076 |
comparison
equal
deleted
inserted
replaced
310:9d91406ca3a7 | 311:54e2dd53ba38 |
---|---|
1 #!/usr/bin/python | 1 #!/usr/bin/python |
2 from setuptools import setup, find_packages | 2 from setuptools import setup, find_packages |
3 import sys | |
3 | 4 |
5 python3 = sys.version_info[0] > 2 | |
6 if python3: | |
7 install_requires = [] # will rely on local pyparsing_py3 copy | |
8 else: | |
9 install_requires = ['pyparsing>=1.5.1'] | |
10 | |
4 setup( | 11 setup( |
5 name="cmd2", | 12 name="cmd2", |
6 version="0.5.6", | 13 version="0.5.6", |
7 py_modules=["cmd2",], | 14 py_modules=["cmd2",], |
8 use2to3=True, | 15 use_2to3=True, |
9 | 16 |
10 # metadata for upload to PyPI | 17 # metadata for upload to PyPI |
11 author = 'Catherine Devlin', | 18 author = 'Catherine Devlin', |
12 author_email = 'catherine.devlin@gmail.com', | 19 author_email = 'catherine.devlin@gmail.com', |
13 description = "Extra features for standard library's cmd module", | 20 description = "Extra features for standard library's cmd module", |
14 license = 'MIT', | 21 license = 'MIT', |
15 keywords = 'command prompt console cmd', | 22 keywords = 'command prompt console cmd', |
16 url = 'http://www.assembla.com/wiki/show/python-cmd2', | 23 url = 'http://www.assembla.com/wiki/show/python-cmd2', |
17 install_requires=['pyparsing>=1.5.1'], | 24 install_requires = install_requires, |
18 | 25 |
19 long_description = """Enhancements for standard library's cmd module. | 26 long_description = """Enhancements for standard library's cmd module. |
20 | 27 |
21 Drop-in replacement adds several features for command-prompt tools: | 28 Drop-in replacement adds several features for command-prompt tools: |
22 | 29 |