Skip to content
Snippets Groups Projects
Commit b757cf22 authored by Eleni Mathioulaki's avatar Eleni Mathioulaki
Browse files

Merge branch 'add-netpyne' into 'master'

Add NetPyNE and some of its dependencies

See merge request technical-coordination/project-internal/devops/platform/ebrains-spack-builds!356
parents 8e636e71 fca17d0b
No related branches found
No related tags found
2 merge requests!362create new experimental release,!356Add NetPyNE and some of its dependencies
Pipeline #23598 passed with stage
in 11 hours, 24 minutes, and 44 seconds
# 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 PyMatplotlibScalebar(PythonPackage):
"""Matplotlib-Scalebar provides a new artist for matplotlib to display a scale bar, aka micron bar."""
homepage = "https://kolibril13.github.io/plywood-gallery-matplotlib-scalebar/"
pypi = "matplotlib-scalebar/matplotlib-scalebar-0.8.1.tar.gz"
git = "https://github.com/ppinard/matplotlib-scalebar.git"
# list of GitHub accounts to notify when the package is updated.
maintainers = ["ppinard"]
version("0.8.1", sha256="14887af1093579c5e6afae51a0a1ecc3f715cdbc5c4d7ef59cdeec76ee6bb15d")
depends_on("py-matplotlib", type=("build", "run"))
# 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 PyNetpyne(PythonPackage):
"""NetPyNE (Networks using Python and NEURON) is a Python package to facilitate the development, simulation, parallelization, analysis, and optimization of biological neuronal networks using the NEURON simulator."""
homepage = "netpyne.org"
url = "https://github.com/suny-downstate-medical-center/netpyne/archive/refs/tags/v1.0.4.1.tar.gz"
git = "https://github.com/suny-downstate-medical-center/netpyne.git"
# list of GitHub accounts to notify when the package is updated.
maintainers = ["salvadord", "vvbragin"]
version("1.0.4.1", sha256="2ed12807f9b3d3e3a8ba9910f8d22c5c17635e0cdea0af09fa3a230e68876df6")
depends_on("py-setuptools", type="build")
depends_on("neuron", type=("build", "run"))
depends_on("py-numpy", type=("build", "run"))
depends_on("py-scipy", type=("build", "run"))
depends_on("py-matplotlib@:3.5.1", type=("build", "run"))
depends_on("py-matplotlib-scalebar", type=("build", "run"))
depends_on("py-future", type=("build", "run"))
depends_on("py-pandas", type=("build", "run"))
depends_on("py-bokeh", type=("build", "run"))
depends_on("py-schema", type=("build", "run"))
depends_on("py-lfpykit", type=("build", "run"))
depends_on('py-pytest', type='test')
@run_after('install')
@on_package_attributes(run_tests=True)
def install_test(self):
pytest = which('pytest')
pytest('tests/doc/test_tutorials.py')
# 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 PySchema(PythonPackage):
"""Simple data validation library"""
homepage = "https://github.com/keleshev/schema"
pypi = "schema/schema-0.7.5.tar.gz"
version("0.7.5", sha256="f06717112c61895cabc4707752b88716e8420a8819d71404501e114f91043197")
depends_on("py-setuptools", type="build")
depends_on("py-contextlib2@0.5.5:", type=("build", "run"))
......@@ -40,9 +40,11 @@ spack:
- py-hippounit@1.3.6
- py-lazyarray@0.5.2
- py-lfpy@2.3
- py-lfpykit@0.5
- py-nameparser@1.1.1
- py-neo@0.12.0
- py-nestml@5.2.0
- py-netpyne@1.0.4.1
- py-neuror@1.4.2
- py-neurom@3.2.2
- py-nixio@1.5.3
......@@ -67,6 +69,9 @@ spack:
- r-uqsa@2.2
- sda@7.3.3d
- simpletraj@0.3
# Utils
- py-schema@0.7.5
- py-matplotlib-scalebar@0.8.1
# Workflows (meta-packages)
- wf-uq-akar4@0.1
- wf-multi-area-model@0.1
......
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