summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2022-10-07 17:32:43 -0400
committerGitHub <noreply@github.com>2022-10-07 15:32:43 -0600
commit5560bbf97efde83343cfc0d4ff28840db7db77e6 (patch)
tree4cbe086b49f68c2e35d4735662ea68926ca8298a /var
parentb3cfcebf94611424dc503dd0fab3d0a84a68920b (diff)
downloadspack-5560bbf97efde83343cfc0d4ff28840db7db77e6.tar.gz
spack-5560bbf97efde83343cfc0d4ff28840db7db77e6.tar.bz2
spack-5560bbf97efde83343cfc0d4ff28840db7db77e6.tar.xz
spack-5560bbf97efde83343cfc0d4ff28840db7db77e6.zip
New package: py-pathml (#32566)
* [py-pathml Farber] Created package * [pathml Farber] Dependencies added * [py-pathml] Corrected dependency * [py-pathml] Added types * [py-pathml] depends on py-h5py * [py-pathml] py-opencv-contrib-python -> opencv+python3+contrib * [py-pathml] added spack import and fixed setuptools type * [py-pathml] update import * [py-pathml] opencv no longer has +contrib * [@spackbot] updating style on behalf of qwertos Co-authored-by: James A Zilberman <jazrc@rit.edu> Co-authored-by: qwertos <qwertos@users.noreply.github.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-pathml/package.py34
1 files changed, 34 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pathml/package.py b/var/spack/repos/builtin/packages/py-pathml/package.py
new file mode 100644
index 0000000000..9e1fa11a5f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pathml/package.py
@@ -0,0 +1,34 @@
+# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack.package import *
+
+
+class PyPathml(PythonPackage):
+ """An open-source toolkit for computational pathology and machine learning."""
+
+ homepage = "https://github.com/Dana-Farber-AIOS/pathml"
+ pypi = "pathml/pathml-2.1.0.tar.gz"
+
+ version("2.1.0", sha256="462bb2f16452dddad310c30f62678a1336ce492263355fd6722c07ee4840ea6a")
+
+ depends_on("py-setuptools@42:", type="build")
+ depends_on("py-numpy@1.16.4:", type=("build", "run"))
+ depends_on("py-pandas", type=("build", "run"))
+ depends_on("py-scipy", type=("build", "run"))
+ depends_on("py-pydicom", type=("build", "run"))
+ depends_on("py-statsmodels", type=("build", "run"))
+ depends_on("py-openslide-python", type=("build", "run"))
+ depends_on("py-matplotlib", type=("build", "run"))
+ depends_on("py-scikit-image", type=("build", "run"))
+ depends_on("py-scikit-learn", type=("build", "run"))
+ depends_on("py-dask +distributed", type=("build", "run"))
+ depends_on("py-anndata@0.7.6:", type=("build", "run"))
+ depends_on("py-scanpy", type=("build", "run"))
+ depends_on("py-torch", type=("build", "run"))
+ depends_on("opencv+python3", type=("build", "run"))
+ depends_on("py-python-bioformats@4.0.0:", type=("build", "run"))
+ depends_on("py-loguru", type=("build", "run"))
+ depends_on("py-h5py", type=("build", "run"))