forked from brian-team/brian2wasm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (48 loc) · 1.45 KB
/
pyproject.toml
File metadata and controls
62 lines (48 loc) · 1.45 KB
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
[build-system]
requires = [
"setuptools>=61",
"wheel",
"setuptools_scm[toml]>=6.2"
]
build-backend = "setuptools.build_meta"
[project]
name = "brian2wasm"
dynamic = ["version", "readme"]
description = "A WebAssembly backend for the Brian 2 simulator"
keywords = ["wasm", "brian"]
requires-python = ">=3.10"
[project.scripts]
brian2wasm = "brian2wasm.__main__:main"
[project.urls]
Homepage = "https://github.com/brian-team/brian2wasm"
Source = "https://github.com/brian-team/brian2wasm"
Tracker = "https://github.com/brian-team/brian2wasm/issues"
[tool.setuptools.package-data]
brian2wasm = ["emsdk_setup.sh", "emsdk_setup.bat"]
[tool.setuptools]
zip-safe = false
include-package-data = true
[tool.setuptools.packages.find]
include = ["brian2wasm*"]
[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 = "brian2wasm/_version.py"
fallback_version = "unknown"
[tool.pixi.project]
channels = ["conda-forge"]
platforms = ["linux-64", "osx-64", "osx-arm64", "win-64"]
[tool.pixi.dependencies]
python = ">=3.10"
emsdk = "*"
[tool.pixi.pypi-dependencies]
brian2wasm = "*"
brian2 = "==2.9.0"
[tool.pixi.tasks]
setup = "emsdk install latest && emsdk activate latest"
[tool.pixi.target.unix.activation]
scripts = ["./brian2wasm/emsdk_setup.sh"]
[tool.pixi.target.win.activation]
scripts = ["./brian2wasm/emsdk_setup.bat"]