From 06331d3ab75feb807dc48d824cbd54898a6b6cdd Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Fri, 9 Dec 2016 16:54:10 -0500 Subject: First stage of refactoring to support full simultaneous Python 2 and 3 compatibility via use of the six module. --- setup.py | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 54e156e9..61c84f17 100755 --- a/setup.py +++ b/setup.py @@ -1,9 +1,11 @@ #!/usr/bin/python -from setuptools import setup, find_packages -import sys +# coding=utf-8 +from setuptools import setup install_requires = ['pyparsing >= 2.0.1'] +tests_require = ['mock', 'pytest', 'six'] + setup( name="cmd2", version="0.6.9", @@ -11,14 +13,15 @@ setup( use_2to3=True, # 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: -- cgit v1.2.1