Skip to content

Commit c09c9a2

Browse files
Add a separate requirements file
Fixes the docs build
1 parent 38a1846 commit c09c9a2

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

requirements.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
csaps>=0.11
2+
fastprogress
3+
joblib
4+
numpy
5+
pandas
6+
scipy
7+
tsfresh

setup.py

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
import pathlib
12
import setuptools
23

34
__packagename__ = 'bletl'
5+
ROOT = pathlib.Path(__file__).parent
6+
47

58
def get_version():
69
import os, re
@@ -33,14 +36,6 @@ def get_version():
3336
'Intended Audience :: Science/Research',
3437
'License :: OSI Approved :: GNU Affero General Public License v3',
3538
],
36-
install_requires=[
37-
'csaps>=0.11',
38-
'fastprogress',
39-
'joblib',
40-
'numpy',
41-
'pandas',
42-
'scipy',
43-
'tsfresh',
44-
],
39+
install_requires=open(pathlib.Path(ROOT, 'requirements.txt')).readlines(),
4540
)
4641

0 commit comments

Comments
 (0)