Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change requirements versions from == to >= #383

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Direct requirements of this project alone
matminer==0.6.2
pymatgen==2020.01.28
tpot==0.11.0
skrebate==0.6
pyyaml==5.1.2
scikit-learn==0.22.2
matminer>=0.6.2
pymatgen>=2020.01.28
tpot>=0.11.0
skrebate>=0.6
pyyaml>=5.1.2
scikit-learn>=0.22.2

# Also requirements of matminer
# numpy
# pandas
# scikit_learn
# pymatgen
# pymatgen
9 changes: 4 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
from setuptools import setup, find_packages
import os

from setuptools import find_packages, setup

module_dir = os.path.dirname(os.path.abspath(__file__))
reqs_raw = open(os.path.join(module_dir, "requirements.txt")).read()
# reqs_list = [r.replace("==", ">=") for r in reqs_raw.split("\n")]
reqs_list = [r for r in reqs_raw.split("\n")]
install_reqs = open(os.path.join(module_dir, "requirements.txt")).read().split("\n")

# Version is MAJOR.MINOR.PATCH.YYYYMMDD
version = "1.0.3.20200727"
Expand All @@ -24,7 +23,7 @@
packages=find_packages(where=".", exclude=("benchdev", "benchdev.*")),
package_data={},
zip_safe=False,
install_requires=reqs_list,
install_requires=install_reqs,
extras_require={},
classifiers=['Programming Language :: Python :: 3.6',
'Development Status :: 4 - Beta',
Expand Down