From 129cbeff785f0c2288e00e0675c0c84f7ce5be44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eric=20M=C3=BCller?= <mueller@kip.uni-heidelberg.de> Date: Mon, 25 Mar 2024 17:56:46 +0100 Subject: [PATCH] feat: add wf/usecase for user-customized python envs --- packages/wf-custom-python/package.py | 16 ++++++++++++++++ spack.yaml | 1 + 2 files changed, 17 insertions(+) create mode 100644 packages/wf-custom-python/package.py diff --git a/packages/wf-custom-python/package.py b/packages/wf-custom-python/package.py new file mode 100644 index 00000000..84ebe4cc --- /dev/null +++ b/packages/wf-custom-python/package.py @@ -0,0 +1,16 @@ +# Copyright 2013-2024 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 import * + + +class WfCustomPython(BundlePackage): + """Meta-package to represent a use case where users install additional + (on top of the ESD) Python packages.""" + + version("0.1") + + depends_on("py-pip") + depends_on("py-virtualenv") diff --git a/spack.yaml b/spack.yaml index 39a3d007..3b54982b 100644 --- a/spack.yaml +++ b/spack.yaml @@ -65,6 +65,7 @@ spack: - wf-protein-association-rates@0.1 - wf-multi-area-model@1.1.1 - wf-uq-akar4@0.1 + - wf-custom-python@0.1 #- py-cerebstats #- py-cerebunit #- py-morphounit@1.0.4 -- GitLab