-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpyproject.toml
58 lines (48 loc) · 1.65 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
[project]
name = "bids-validator-deno"
description = "Typescript implementation of the BIDS validator"
authors = [
{name = "bids-standard developers"},
]
dependencies = []
readme = "README.md"
license = {text = "MIT"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"License :: OSI Approved :: MIT License",
"Programming Language :: JavaScript",
]
keywords = ["BIDS", "BIDS validator"]
dynamic = ["version"]
[project.urls]
Documentation = "https://bids-validator.readthedocs.io/"
"Source code" = "https://github.com/bids-standard/bids-validator"
Issues = "https://github.com/bids-standard/bids-validator/issues"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
distribution = true
[tool.pdm.build]
source-includes = ["src/", "deno.json"]
excludes = [".*"]
[tool.pdm.build.wheel-data]
scripts = ["scripts/*"]
[tool.cibuildwheel]
build = "cp39-*"
# Deno requires glibc, so the alpine package doesn't give us musllinux yet
# Deno will not build for 32-bit architectures
skip = "*musllinux* *_i686 *-win32"
build-frontend = "build"
manylinux-x86_64-image = "quay.io/pypa/manylinux_2_24_x86_64:latest"
manylinux-aarch64-image = "quay.io/pypa/manylinux_2_24_aarch64:latest"
before-build = "curl -fsSL https://deno.land/install.sh | DENO_INSTALL=/usr/local sh && deno --version"
test-command = "bids-validator-deno --version"
[[tool.cibuildwheel.overrides]]
select = "*musllinux*"
before-build = 'apk add deno'
[[tool.cibuildwheel.overrides]]
select = "*win*"
before-build = 'npm install -g deno & deno --version'