From a9e3ac53b044ef389e5198c93dddfcc7ab1f6e0f Mon Sep 17 00:00:00 2001 From: shafferm Date: Mon, 28 Nov 2016 11:32:23 -0700 Subject: [PATCH] changed setup.py and setup.cfg in order to allow python setup.py test to work --- setup.cfg | 2 ++ setup.py | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index b88034e..0115b61 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,4 @@ [metadata] description-file = README.md +[aliases] +test=pytest \ No newline at end of file diff --git a/setup.py b/setup.py index 923d908..df372f8 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,9 @@ setup( name="SCNIC", version="0.2", - install_requires=["numpy", "scipy", "networkx", "biom-format", "pandas", "fast_sparCC", "pytest"], + setup_requires=['pytest-runner'], + test_require=['pytest'], + install_requires=["numpy", "scipy", "networkx", "biom-format", "pandas", "fast_sparCC"], scripts=["scripts/SCNIC_analysis.py"], packages=find_packages(), description="A tool for finding and summarizing modules of highly correlated observations in compositional data",