[build-system]
requires = ["setuptools>=80", "packaging>=24", "pyproject-parser>=0.14"]
build-backend = "setuptools.build_meta"
[project]
name = "pythonnet"
description = ".NET and Mono integration for Python"
license = "MIT"
readme = "README.rst"
dependencies = [
"clr_loader>=0.3.1,=3.11, = 6",
"find_libpython >= 0.3",
"numpy >=2",
]
doc = [
"sphinx",
"furo>=2025.12.19",
"pygments>=2.20",
"breathe",
"sphinx-csharp @ git+https://github.com/rogerbarton/sphinx-csharp.git",
]
[[project.authors]]
name = "The Contributors of the Python.NET Project"
email = "pythonnet@python.org"
[project.urls]
Homepage = "https://pythonnet.github.io/"
Sources = "https://github.com/pythonnet/pythonnet"
[project.entry-points.pyinstaller40]
hook-dirs = "pythonnet._pyinstaller:get_hook_dirs"
[tool.setuptools]
zip-safe = false
py-modules = ["clr"]
[tool.setuptools.dynamic.version]
file = "version.txt"
[tool.setuptools.packages.find]
include = ["pythonnet*"]
exclude = [".gitignore"]
[tool.pytest.ini_options]
xfail_strict = true
testpaths = [
"tests"
]