|
| 1 | +[build-system] |
| 2 | +requires = [ |
| 3 | + # First version of setuptools to support pyproject.toml configuration |
| 4 | + "setuptools>=61.0.0", |
| 5 | + "wheel", |
| 6 | + # Must be kept in sync with `project.dependencies` |
| 7 | + "cffi>=1.0.0", |
| 8 | + "pkgconfig>=1.5", |
| 9 | +] |
| 10 | +build-backend = "setuptools.build_meta" |
| 11 | + |
| 12 | +[project] |
| 13 | +name = "pyvips" |
| 14 | +authors = [ |
| 15 | + { name = "John Cupitt", email = "[email protected]"}, |
| 16 | +] |
| 17 | +description = "binding for the libvips image processing library" |
| 18 | +readme = "README.rst" |
| 19 | +keywords = [ |
| 20 | + "image processing", |
| 21 | +] |
| 22 | +license = {text = "MIT"} |
| 23 | +requires-python = ">=3.7" |
| 24 | +classifiers = [ |
| 25 | + "Development Status :: 5 - Production/Stable", |
| 26 | + "Environment :: Console", |
| 27 | + "Intended Audience :: Developers", |
| 28 | + "Intended Audience :: Science/Research", |
| 29 | + "Topic :: Multimedia :: Graphics", |
| 30 | + "Topic :: Multimedia :: Graphics :: Graphics Conversion", |
| 31 | + "License :: OSI Approved :: MIT License", |
| 32 | + "Programming Language :: Python", |
| 33 | + "Programming Language :: Python :: 3", |
| 34 | + "Programming Language :: Python :: 3 :: Only", |
| 35 | + "Programming Language :: Python :: 3.7", |
| 36 | + "Programming Language :: Python :: 3.8", |
| 37 | + "Programming Language :: Python :: 3.9", |
| 38 | + "Programming Language :: Python :: 3.10", |
| 39 | + "Programming Language :: Python :: 3.11", |
| 40 | + "Programming Language :: Python :: 3.12", |
| 41 | + "Programming Language :: Python :: Implementation :: CPython", |
| 42 | + "Programming Language :: Python :: Implementation :: PyPy", |
| 43 | +] |
| 44 | +dependencies = [ |
| 45 | + # Must be kept in sync with `build-system.requires` |
| 46 | + "cffi>=1.0.0", |
| 47 | +] |
| 48 | +dynamic = [ |
| 49 | + "version", |
| 50 | +] |
| 51 | + |
| 52 | +[project.urls] |
| 53 | +changelog = "https://github.com/libvips/pyvips/blob/master/CHANGELOG.rst" |
| 54 | +documentation = "https://libvips.github.io/pyvips/" |
| 55 | +funding = "https://opencollective.com/libvips" |
| 56 | +homepage = "https://github.com/libvips/pyvips" |
| 57 | +issues = "https://github.com/libvips/pyvips/issues" |
| 58 | +source = "https://github.com/libvips/pyvips" |
| 59 | + |
| 60 | +[tool.setuptools] |
| 61 | +# We try to compile as part of install, so we can't run in a ZIP |
| 62 | +zip-safe = false |
| 63 | +include-package-data = false |
| 64 | + |
| 65 | +[tool.setuptools.dynamic] |
| 66 | +version = {attr = "pyvips.version.__version__"} |
| 67 | + |
| 68 | +[tool.setuptools.packages.find] |
| 69 | +exclude = [ |
| 70 | + "doc*", |
| 71 | + "examples*", |
| 72 | + "tests*", |
| 73 | +] |
| 74 | + |
| 75 | +[project.optional-dependencies] |
| 76 | +# All the following are used for our own testing |
| 77 | +tox = ["tox"] |
| 78 | +test = [ |
| 79 | + "pytest", |
| 80 | + "pyperf", |
| 81 | +] |
| 82 | +sdist = ["build"] |
| 83 | +doc = [ |
| 84 | + "sphinx", |
| 85 | + "sphinx_rtd_theme", |
| 86 | +] |
| 87 | + |
| 88 | +[tool.pytest.ini_options] |
| 89 | +norecursedirs = ["tests/helpers"] |
0 commit comments