diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-11-15 21:41:42 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-15 21:41:42 -0500 |
commit | 63b0c6b3a92cab837a71bbad78e777c522823c93 (patch) | |
tree | 17d85eeec386fd9ce5b9c770c79e5198fa7683dd /setup.py | |
parent | 5109cd02b4046003cddf1519b636c7a405bc60c4 (diff) | |
parent | da099c2dff669d722b2c81a2224de6c0d2695449 (diff) | |
download | cmd2-git-63b0c6b3a92cab837a71bbad78e777c522823c93.tar.gz |
Merge pull request #241 from python-cmd2/windows_pyreadline
Added a Windows-only dependency on pyreadline
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -3,6 +3,7 @@ """ Setuptools setup file, used to install or test 'cmd2' """ +import sys from setuptools import setup VERSION = '0.7.9a' @@ -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'] |