-
Notifications
You must be signed in to change notification settings - Fork 221
/
pyproject.toml
82 lines (73 loc) · 2.33 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
[project]
name = "Brian2"
authors = [
{name = 'Marcel Stimberg'},
{name = 'Dan Goodman'},
{name ='Romain Brette'}
]
requires-python = '>=3.10'
dependencies = [
'numpy>=1.23.5',
'cython>=0.29.21',
'sympy>=1.2',
'pyparsing',
'jinja2>=2.7',
'py-cpuinfo;platform_system=="Windows"',
'setuptools>=61',
'packaging',
]
dynamic = ["version", "readme"]
description = 'A clock-driven simulator for spiking neural networks'
keywords = ['computational neuroscience', 'simulation', 'neural networks', 'spiking neurons', 'biological neural networks', 'research']
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: CEA CNRS Inria Logiciel Libre License, version 2.1 (CeCILL-2.1)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering :: Bio-Informatics'
]
[project.optional-dependencies]
test = ['pytest>=8', 'pytest-xdist>=1.22.3', 'pytest-cov>=2.0', 'pytest-timeout']
docs = ['sphinx>=7', 'ipython>=5', 'sphinx-tabs']
[project.urls]
Homepage = 'https://briansimulator.org'
Documentation ='https://brian2.readthedocs.io/'
Source = 'https://github.com/brian-team/brian2'
Tracker = 'https://github.com/brian-team/brian2/issues'
[tool.setuptools]
zip-safe = false
include-package-data = true
[tool.setuptools.packages.find]
include = ["brian2*"]
[tool.setuptools.dynamic]
readme = {file = 'README.md', content-type = "text/markdown"}
[tool.setuptools_scm]
version_scheme = 'post-release'
local_scheme = 'no-local-version'
write_to = 'brian2/_version.py'
tag_regex = '^(?P<version>\d+(?:\.\d+){0,2}[^\+]*(?:\+.*)?)$'
fallback_version = 'unknown'
[build-system]
requires = [
"setuptools>=61",
# By building against numpy 2.0, we make sure that the wheel is compatible with
# both numpy 2.0 and numpy>=1.23
"numpy>=2.0.0rc1",
"wheel",
"Cython",
"setuptools_scm[toml]>=6.2"
]
build-backend = "setuptools.build_meta"
[tool.black]
target-version = ['py310']
include = '^/brian2/.*\.pyi?$'
[tool.isort]
atomic = true
profile = "black"
py_version = "310"
skip_gitignore = true
# NOTE: isort has no "include" option, only "skip".
skip_glob = ["dev/*", "docs_sphinx/*", "examples/*", "tutorials/*"]