Skip to content

Commit 1023789

Browse files
committed
feat:: create a requirements.txt file and make the setup.py install from it
1 parent 330461b commit 1023789

File tree

2 files changed

+15
-16
lines changed

2 files changed

+15
-16
lines changed

requirements.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
click>=7.1.2
2+
joblib>=0.16.0
3+
lightgbm>=2.3.1
4+
numpy>=1.19.1
5+
optuna>=1.5.0
6+
pandas>=1.0.5
7+
pytest>=5.4.3
8+
PyYAML>=5.3.1
9+
scikit-learn>=0.23.1
10+
scipy>=1.5.2
11+
six>=1.15.0
12+
tqdm>=4.48.0
13+
xgboost>=1.1.1

setup.py

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,7 @@
1111
with open("HISTORY.rst") as history_file:
1212
history = history_file.read()
1313

14-
requirements = [
15-
"click>=7.1.2",
16-
"joblib>=0.16.0",
17-
"lightgbm>=2.3.1",
18-
"numpy>=1.19.1",
19-
"optuna>=1.5.0",
20-
"pandas>=1.0.5",
21-
"pytest>=5.4.3",
22-
"PyYAML>=5.3.1",
23-
"scikit-learn>=0.23.1",
24-
"scipy>=1.5.2",
25-
"six>=1.15.0",
26-
"tqdm>=4.48.0",
27-
"xgboost>=1.1.1",
28-
]
14+
requirements = [requirement for requirement in open('requirements.txt')]
2915

3016
setup_requirements = [
3117
"pytest-runner",
@@ -38,7 +24,7 @@
3824
setup(
3925
author="Shankar Rao Pandala",
4026
author_email="[email protected]",
41-
python_requires=">=3.8, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
27+
python_requires=">=3.8",
4228
classifiers=[
4329
"Development Status :: 2 - Pre-Alpha",
4430
"Intended Audience :: Developers",

0 commit comments

Comments
 (0)