From 356999fc892a82d6db80a6c0f8f48b924dd5ce0e Mon Sep 17 00:00:00 2001 From: VBergen Date: Mon, 3 Sep 2018 16:33:04 +0200 Subject: [PATCH] update requirements (anndata 0.6.10, scanpy 1.3.1) --- requirements.txt | 4 ++-- setup.py | 12 ++---------- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/requirements.txt b/requirements.txt index d767326a..a60d1faf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ -git+https://github.com/theislab/anndata.git@db905235#egg=anndata -git+https://github.com/theislab/scanpy.git@6c1daba#egg=scanpy +scanpy~=1.3.1 +anndata~=0.6.10 scikit-learn~=0.19.1 matplotlib~=2.2 loompy~=2.0.12 diff --git a/setup.py b/setup.py index 80caa546..1be2a039 100644 --- a/setup.py +++ b/setup.py @@ -3,16 +3,8 @@ import numpy as np import versioneer -HERE = Path(__file__).parent - -req_path = HERE / 'requirements.txt' -if not req_path.is_file(): - req_path = Path('scvelo.egg-info') / req_path -requires = [ - 'scanpy' if ('theislab/scanpy' in r) else - 'anndata' if ('theislab/anndata' in r) else r - for r in req_path.read_text().strip().split('\n') -] +req_path = Path('requirements.txt') +requires = [r for r in req_path.read_text().strip().split('\n')] with open('README.rst') as readme_f: readme = readme_f.read()