summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorFederico Ceratto <federico.ceratto@gmail.com>2017-01-06 12:23:48 +0000
committerGitHub <noreply@github.com>2017-01-06 12:23:48 +0000
commit46d1028a330ffe4d344b99739d1d4b607654ade5 (patch)
treea9d266360cc23d383335c69195a2b65cc8cba77f /setup.py
parentef074cc2ffb64b2c5281757820f6904bd368d51e (diff)
parent01a8ab20a7ce3544da7c3e69dfc5d4cb0ad257ae (diff)
downloadcmd2-git-46d1028a330ffe4d344b99739d1d4b607654ade5.tar.gz
Merge pull request #29 from tleonhardt/master
Refactored to create a unified Python 2/3 codebase based on six which doesn't require 2to3
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py29
1 files changed, 16 insertions, 13 deletions
diff --git a/setup.py b/setup.py
index 54e156e9..01d939c2 100755
--- a/setup.py
+++ b/setup.py
@@ -1,24 +1,27 @@
#!/usr/bin/python
-from setuptools import setup, find_packages
-import sys
+# coding=utf-8
+from setuptools import setup
-install_requires = ['pyparsing >= 2.0.1']
+install_requires = ['pyparsing >= 2.0.1', 'six']
+
+tests_require = ['mock', 'pytest']
setup(
name="cmd2",
- version="0.6.9",
+ version="0.7.0",
py_modules=["cmd2"],
- use_2to3=True,
+ use_2to3=False,
# metadata for upload to PyPI
- author = 'Catherine Devlin',
- author_email = 'catherine.devlin@gmail.com',
- description = "Extra features for standard library's cmd module",
- license = 'MIT',
- keywords = 'command prompt console cmd',
- url = 'http://packages.python.org/cmd2/',
- install_requires = install_requires,
- long_description = """Enhancements for standard library's cmd module.
+ author='Catherine Devlin',
+ author_email='catherine.devlin@gmail.com',
+ description="Extra features for standard library's cmd module",
+ license='MIT',
+ keywords='command prompt console cmd',
+ url='http://packages.python.org/cmd2/',
+ install_requires=install_requires,
+ tests_require=tests_require,
+ long_description="""Enhancements for standard library's cmd module.
Drop-in replacement adds several features for command-prompt tools: