Skip to content
Snippets Groups Projects
Commit edb2032c authored by Athanasios Karmas's avatar Athanasios Karmas
Browse files

added path in PYTHONPATH to allow importing modules installed at runtime via pip

parent 135d3efb
No related branches found
No related tags found
No related merge requests found
Pipeline #14416 passed with stage
in 6 minutes and 4 seconds
......@@ -21,6 +21,9 @@ spack repo add /srv/$INSTALLATION_ROOT/ebrains-spack-builds
module use /srv/$INSTALLATION_ROOT/spack/share/spack/modules/linux-centos7-broadwell/
source /srv/$INSTALLATION_ROOT/spack/var/spack/environments/$SPACKIFIED_ENV/loads
# add also user's .local python3.8 packages to allow package installation at runtime
# by the user using pip
export PYTHONPATH=$PYTHONPATH:/opt/app-root/src/.local/lib/python3.8/site-packages
# capture the env after spack activation
cd /opt/app-root/src
......
......@@ -15,7 +15,7 @@ spack:
- py-seaborn %gcc@10.3.0
- py-matplotlib %gcc@10.3.0
# EBRAINS simulators
- nest@3.1 +python +gsl +mpi %gcc@10.3.0
- nest@3.0 +python +gsl +mpi %gcc@10.3.0
- arbor +mpi ^python@3:3.9 %gcc@10.3.0
- neuron +mpi %gcc@10.3.0
- py-pynn@0.9.6 %gcc@10.3.0
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment