[build-system]
requires = ["setuptools>=61", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "pythonnet"
description = ".NET and Mono integration for Python"
license = {text = "MIT"}
readme = "README.rst"
dependencies = [
"clr_loader>=0.2.6,<0.3.0"
]
requires-python = ">=3.7, <3.14"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: C#",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
]
dynamic = ["version"]
[[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.optional-dependencies]
dev = [
"pytest>=7.4.4",
"psutil>=5.9.8",
"coverage>=7.2.7",
"codecov>=2.1.13",
"wheel>=0.42.0",
"pycparser>=2.21",
"clr-loader>=0.2.6",
"find-libpython>=0.3.1",
]
[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"
]