From dd671ef739aa34b0cd9a570322b19c373ed773af Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Wed, 15 Nov 2017 08:16:48 -0500 Subject: Modified setup.py and README.md to make pyreadline a dependency on Windwos Also: - bumped version to 0.7.9a - updated changelog --- setup.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 6607b799..c103d663 100755 --- a/setup.py +++ b/setup.py @@ -3,9 +3,10 @@ """ Setuptools setup file, used to install or test 'cmd2' """ +import sys from setuptools import setup -VERSION = '0.7.8' +VERSION = '0.7.9a' DESCRIPTION = "cmd2 - a tool for building interactive command line applications in Python" LONG_DESCRIPTION = """cmd2 is a tool for building interactive command line applications in Python. Its goal is to make it quick and easy for developers to build feature-rich and user-friendly interactive command line applications. It @@ -61,6 +62,9 @@ Topic :: Software Development :: Libraries :: Python Modules """.splitlines()))) INSTALL_REQUIRES = ['pyparsing >= 2.0.1', 'pyperclip', 'six'] +if sys.platform.startswith('win'): + INSTALL_REQUIRES += 'pyreadline' + # unittest.mock was added in Python 3.3. mock is a backport of unittest.mock to all versions of Python TESTS_REQUIRE = ['mock', 'pytest'] DOCS_REQUIRE = ['sphinx', 'sphinx_rtd_theme', 'pyparsing', 'pyperclip', 'six'] -- cgit v1.2.1