about summary refs log tree commit diff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py39
1 files changed, 21 insertions, 18 deletions
diff --git a/setup.py b/setup.py
index 4c1d026..7ad60df 100755
--- a/setup.py
+++ b/setup.py
@@ -13,22 +13,21 @@ setup(author='Bonface M. K.',
       description=('GeneNetwork3 REST API for data '
                    'science and machine learning'),
       install_requires=[
-          "bcrypt>=3.1.7"
-          "click"
-          "Flask==1.1.2"
-          "mypy==0.790"
-          "mypy-extensions==0.4.3"
-          "mysqlclient==2.0.1"
-          "numpy==1.20.1"
-          "pylint==2.5.3"
-          "pymonad"
-          "redis==3.5.3"
-          "requests==2.25.1"
-          "scipy==1.6.0"
-          "plotly==4.14.3"
-          "pyld"
-          "flask-cors==3.0.9"
-          "xapian-bindings"
+          "click",
+          "Flask>=1.1.2",
+          "mypy>=0.790",
+          "mypy-extensions>=0.4.3",
+          "mysqlclient>=2.0.1",
+          "numpy>=1.20.1",
+          "pylint>=2.5.3",
+          "pymonad",
+          "redis>=3.5.3",
+          "requests>=2.25.1",
+          "scipy>=1.6.0",
+          "plotly>=4.14.3",
+          "pyld",
+          "flask-cors", # with the `>=3.0.9` specification, it breaks the build
+          # "xapian-bindings" # this line breaks `guix shell …` for some reason
       ],
       include_package_data=True,
       scripts=["scripts/index-genenetwork"],
@@ -39,7 +38,11 @@ setup(author='Bonface M. K.',
       packages=find_packages(),
       url='https://github.com/genenetwork/genenetwork3',
       version='3.12',
-      tests_require=["pytest", "hypothesis"],
+      tests_require=[
+          "pytest",
+          "hypothesis",
+          "pytest-mock"
+      ],
       cmdclass={
-          "run_tests": RunTests ## testing
+          "run_tests": RunTests # type: ignore[dict-item]
       })