-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
59 lines (51 loc) · 1.87 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
[build-system]
requires = ["setuptools", "cffi>=1.15.0"]
build-backend = "setuptools.build_meta"
[project]
name = "binaryen.py"
version = "117.1.1"
description = "A Python wrapper for Binaryen"
authors = [{ name = "Jonathan Hargreaves", email = "[email protected]" }]
readme = "README.md"
keywords = ["WebAssembly", "Wasm", "Binaryen", "binaryen.py"]
classifiers = [
"Environment :: MacOS X",
"Environment :: WebAssembly",
"Environment :: WebAssembly :: WASI",
"Environment :: Win32 (MS Windows)",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Assembly",
"Programming Language :: Python",
"Topic :: Software Development :: Compilers",
]
license = { file = "LICENSE" }
requires-python = ">=3.12"
dependencies = ['cffi >= 1.15.0']
[project.urls]
"Source Code" = "https://github.com/jonathanharg/binaryen.py"
Issues = "https://github.com/jonathanharg/binaryen.py/issues"
"Original Source Code" = "https://github.com/WebAssembly/binaryen"
[project.optional-dependencies]
dev = ["black", "isort", "cibuildwheel"]
[tool.setuptools]
packages = ["binaryen", "binaryen.type"]
[tool.cibuildwheel]
build = "cp312-*"
skip = "pp*"
# WARNING: If you update this also update it in the Github Action!!
environment = { BINARYEN_VERSION = "117" }
# WARNING: If you update this also update it in the Github Action!!
before-all = ["bash ./scripts/build_libbinaryen.sh"]
[tool.cibuildwheel.windows]
archs = ["AMD64"]
[tool.cibuildwheel.linux]
archs = ["x86_64"]
before-all = ["yum install wget -y", "bash ./scripts/build_libbinaryen.sh"]
[[tool.cibuildwheel.overrides]]
select = "*-musllinux*"
before-all = ["apk add wget", "bash ./scripts/build_libbinaryen.sh"]