From bd0ff92d2ba644243bf81c87edf3a06809b9fd7c Mon Sep 17 00:00:00 2001 From: Justus Schwabedal Date: Fri, 25 Jan 2019 19:50:57 +0100 Subject: [PATCH] Add requirements.txt. This commit fixes Issue #8 We add numpy==1.15 to conform with module `pacpy`. We also add install instructions to README. --- README.md | 10 ++++++++++ requirements.txt | 2 ++ 2 files changed, 12 insertions(+) create mode 100644 requirements.txt diff --git a/README.md b/README.md index d51de90..0292c65 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,16 @@ The main entry point into the library is class `Reader` that accesses a selection of functions in the .mff directory to return signal data and its meta information. +## Installation + +```bash +$ conda create -n mffpy python=3.6 pip +$ conda activate mffpy +$ pip install -r requirements.txt +$ # and to run the test +$ pytest +``` + ## View the Docs All documentation and API guidance are generated from the python doc-strings diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..422e7ae --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +pytest==4.1.1 +numpy==1.15