Skip to content

Commit

Permalink
switch to pyproject.toml and flit
Browse files Browse the repository at this point in the history
  • Loading branch information
Helveg committed Oct 20, 2023
1 parent 48e29eb commit 0cdfb28
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 121 deletions.
4 changes: 4 additions & 0 deletions bsb/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
A component framework for multiscale bottom-up neural modelling.
"""

__version__ = "4.0.0a56"

import functools
Expand Down
87 changes: 87 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,89 @@
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"

[project]
name = "bsb"
authors = [{ name = "Robin De Schepper", email = "robingilbert.deschepper@unipv.it" }]
readme = "README.md"
license = { file = "LICENSE" }
classifiers = ["License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)"]
dynamic = ["version", "description"]
dependencies = [
"bsb-hdf5~=0.9.0",
"h5py~=3.0",
"numpy~=1.19",
"scipy~=1.5",
"scikit-learn~=1.0",
"plotly~=5.5",
"colour~=0.1",
"errr~=1.2",
"rtree~=1.0",
"psutil~=5.8",
"pynrrd~=1.0",
"PyYAML~=6.0",
"morphio~=3.3",
"toml",
"requests~=2.30",
"urllib3~=2.0",
"appdirs~=1.4",
"neo[nixio]",
"tqdm~=4.50",
"shortuuid",
"quantities",
]

[project.urls]
Home = "https://github.com/dbbs-lab/bsb"
Documentation = "https://bsb.readthedocs.io/"
"Bug Tracker" = "https://github.com/dbbs-lab/bsb/issues/"
"Source Code" = "https://github.com/dbbs-lab/bsb/"

[project.entry-points."console-scripts"]
bsb = "bsb.cli:handle_cli"

[project.entry-points."bsb.storage.engines"]
fs = "bsb.storage.fs"

[project.entry-points."bsb.simulation_backends"]
arbor = "bsb.simulators.arbor"
nest = "bsb.simulators.nest"
neuron = "bsb.simulators.neuron"

[project.entry-points."bsb.commands"]
commands = "bsb.cli.commands._commands"
projects = "bsb.cli.commands._projects"

[project.entry-points."bsb.config.parsers"]
json = "bsb.config.parsers.json"
yaml = "bsb.config.parsers.yaml"

[project.entry-points."bsb.config.templates"]
bsb_templates = "bsb.config.templates"

[project.entry-points."bsb.options"]
verbosity = "bsb._options:verbosity"
sudo = "bsb._options:sudo"
version = "bsb._options:version"
config = "bsb._options:config"
profiling = "bsb._options:profiling"

[project.optional-dependencies]
dev = [
"sphinx~=6.0",
"furo",
"pre-commit",
"black~=22.3.0",
"nrn-subprocess~=1.3.4",
"sphinxemoji",
"sphinx_design~=0.2",
"sphinx-copybutton~=0.5",
"sphinxext-bsb~=0.2.1",
"snakeviz",
]
arbor = ["arbor~=0.6", "arborize[arbor]==4.0.0a4"]
neuron = ["nrn-patch==4.0.0a4", "arborize[neuron]==4.0.0a4"]
mpi = ["mpi4py~=3.0", "zwembad", "mpilock~=1.1"]

[tool.black]
line-length = 90
121 changes: 0 additions & 121 deletions setup.py

This file was deleted.

0 comments on commit 0cdfb28

Please sign in to comment.