mirror of https://github.com/pyodide/pyodide.git
81 lines
2.0 KiB
TOML
81 lines
2.0 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "pyodide-build"
|
|
authors = [{name = "Pyodide developers"}]
|
|
description = '"Tools for building Pyodide"'
|
|
classifiers = [
|
|
"Programming Language :: Python :: 3",
|
|
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
|
|
"Operating System :: OS Independent",
|
|
]
|
|
license = {text = "MPL-2.0"}
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"pyyaml",
|
|
"ruamel.yaml",
|
|
"packaging",
|
|
"wheel",
|
|
"build~=1.2.0",
|
|
"virtualenv",
|
|
"pydantic>=2,<3",
|
|
"pyodide-cli~=0.2.1",
|
|
"cmake>=3.24",
|
|
"unearth~=0.6",
|
|
"requests",
|
|
"types-requests",
|
|
"typer",
|
|
"auditwheel-emscripten~=0.0.9",
|
|
"pyodide-lock==0.1.0a6",
|
|
"resolvelib",
|
|
"rich",
|
|
"loky",
|
|
]
|
|
dynamic = ["version"]
|
|
|
|
[project.readme]
|
|
file = "README.md"
|
|
content-type = "text/markdown"
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/pyodide/pyodide"
|
|
"Bug Tracker" = "https://github.com/pyodide/pyodide/issues"
|
|
Documentation = "https://pyodide.org/en/stable/"
|
|
|
|
[project.entry-points."pipx.run"]
|
|
pyodide = "pyodide_cli.__main__:main"
|
|
|
|
[project.entry-points."pyodide.cli"]
|
|
build = "pyodide_build.cli.build:main"
|
|
build-recipes = "pyodide_build.cli.build_recipes:build_recipes"
|
|
build-recipes-no-deps = "pyodide_build.cli.build_recipes:build_recipes_no_deps"
|
|
venv = "pyodide_build.cli.venv:main"
|
|
skeleton = "pyodide_build.cli.skeleton:app"
|
|
py-compile = "pyodide_build.cli.py_compile:main"
|
|
config = "pyodide_build.cli.config:app"
|
|
create-zipfile = "pyodide_build.cli.create_zipfile:main"
|
|
xbuildenv = "pyodide_build.cli.xbuildenv:app"
|
|
|
|
[project.optional-dependencies]
|
|
test = [
|
|
# (FIXME: 2024/01/28) The latest pytest-asyncio 0.23.3 is not compatible with pytest 8.0.0
|
|
"pytest<8.0.0",
|
|
"pytest-pyodide==0.57.0",
|
|
"pytest-httpserver",
|
|
"packaging",
|
|
]
|
|
deploy = [
|
|
"boto3",
|
|
"moto",
|
|
]
|
|
|
|
[tool.hatch]
|
|
version.path = "pyodide_build/__init__.py"
|
|
|
|
[tool.hatch.build.targets.sdist]
|
|
exclude = [
|
|
"/pyodide_build/tests",
|
|
]
|