Skip to content
Snippets Groups Projects
Commit cc629cf5 authored by vvbragin's avatar vvbragin
Browse files

Add NetPyNE and some of its dependencies

parent 4aa7e6cc
No related branches found
No related tags found
No related merge requests found
# 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://files.pythonhosted.org/packages/94/4e/505738f7922f3e306920eb097e22dbe0ce04d66fbf55afed898ecdb13a3b/netpyne-1.0.4.1-py2.py3-none-any.whl"
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="e0ab937eeb9de7bf42c080991190949b437ee407fe796d79682ada8cabb62cca")
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):
"""schema is a library for validating Python data structures, such as those obtained from config-files, forms, external services or command-line parsing, converted from JSON/YAML (or something else) to Python data-types."""
homepage = "https://github.com/keleshev/schema.git"
pypi = "schema/schema-0.7.5.tar.gz"
git = "https://github.com/keleshev/schema.git"
# list of GitHub accounts to notify when the package is updated.
maintainers = ["keleshev", "skorokithakis"]
version("0.7.5", sha256="f06717112c61895cabc4707752b88716e8420a8819d71404501e114f91043197")
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