From 1ab96ffcd858ea7b2f4b74b3963f18d95400f076 Mon Sep 17 00:00:00 2001 From: mckib2 Date: Tue, 28 Jul 2020 20:47:14 -0700 Subject: [PATCH] Require scipy dependency --- make_release.sh | 2 +- requirements.txt | 1 + setup.py | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/make_release.sh b/make_release.sh index 96a8be9..4085438 100644 --- a/make_release.sh +++ b/make_release.sh @@ -4,7 +4,7 @@ mkdir dist # Generate distribution archives python -m pip install --upgrade setuptools wheel -python setup.py sdist bdist_wheel +python setup.py sdist # bdist_wheel # Upload python -m pip install --upgrade twine diff --git a/requirements.txt b/requirements.txt index 9b97d99..5bded70 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,2 @@ numpy>=1.18.4 +scipy>=1.5.2 diff --git a/setup.py b/setup.py index c479068..2c1b5d1 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ def scrape_makefile_list(filename, START_TOKEN, END_TOKEN): setup( name='scikit-glpk', - version='0.1.0', + version='0.1.1', author='Nicholas McKibben', author_email='nicholas.bgp@gmail.com', url='https://github.com/mckib2/scikit-glpk', @@ -35,7 +35,7 @@ def scrape_makefile_list(filename, START_TOKEN, END_TOKEN): long_description=open('README.rst', encoding='utf-8').read(), packages=find_packages(), keywords='glpk linprog scikit', - install_requires=open('requirements.txt').read().split(), + install_requires=open('requirements.txt', encoding='utf-8').read().split(), python_requires='>=3.5', ext_modules=[