[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,<0.4.0" ] requires-python = ">=3.11, <3.16" classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Programming Language :: C#", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", "Programming Language :: Python :: 3.15", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX :: Linux", "Operating System :: MacOS :: MacOS X", ] dynamic = ["version"] [dependency-groups] dev = [ "pytest >= 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" ]