From b77395572135a0d1a0250edc36425822642f489e Mon Sep 17 00:00:00 2001 From: Igor Ivanov Date: Mon, 12 Aug 2019 17:48:38 +0300 Subject: [PATCH 1/2] Update requirements in setup.py Set appropriate requirements in setup.py to install for Python 2.7 and 3.4 --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 96289c1..60fe6da 100644 --- a/setup.py +++ b/setup.py @@ -37,9 +37,9 @@ license='MIT', packages=['vecstack'], install_requires=[ - 'numpy', - 'scipy', - 'scikit-learn>=0.18' + 'numpy<1.17', + 'scipy<1.3', + 'scikit-learn>=0.18,<0.21' ], test_suite='nose.collector', tests_require=['nose'], From d62af872ddba4863c0bcc8f6bb190ebd0f3ab26d Mon Sep 17 00:00:00 2001 From: Igor Ivanov Date: Mon, 12 Aug 2019 18:40:30 +0300 Subject: [PATCH 2/2] Improve text formatting (branch py2) --- PY2.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PY2.md b/PY2.md index 94c5945..da2c587 100644 --- a/PY2.md +++ b/PY2.md @@ -16,7 +16,8 @@ NOTE. It will require legacy versions of the following packages: * numpy<1.17 * scipy<1.3 * scikit-learn>=0.18,<0.21 + There is a dedicated branch on GitHub called `py2` with appropriate requirements in `setup.py`. Installation: -`pip install https://github.com/vecxoz/vecstack/archive/py2.zip` \ No newline at end of file +`pip install https://github.com/vecxoz/vecstack/archive/py2.zip`