Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c2681e8

Browse files
committed
add requirements file
1 parent 69f06d2 commit c2681e8

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

requirements.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
nose>=1.3.7
2+
numpy>=1.11.0
3+
matplotlib>=1.5.1
4+
requests>=2.10.0
5+
pandas>=0.19.1
6+
scipy>=0.19.0

setup.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
# Get the version number from the version.py file
1818
from wfdb.version import __version__
1919

20+
# Get the requirements
21+
with open('requirements.txt') as f:
22+
requirements = f.read().splitlines()
23+
2024
setup(
2125
name='wfdb',
2226

@@ -54,14 +58,7 @@
5458
# your project is installed. For an analysis of "install_requires" vs pip's
5559
# requirements files see:
5660
# https://packaging.python.org/en/latest/requirements.html
57-
install_requires=[
58-
'nose>=1.3.7',
59-
'numpy>=1.11.0',
60-
'matplotlib>=1.5.1',
61-
'requests>=2.10.0',
62-
'pandas>=0.19.1',
63-
'scipy>=0.19.0'
64-
],
61+
install_requires=requirements,
6562

6663
# List additional groups of dependencies here (e.g. development
6764
# dependencies). You can install these using the following syntax,

0 commit comments

Comments
 (0)