|
1 | 1 | [build-system]
|
2 |
| -requires = [ |
3 |
| - "setuptools>=42", |
| 2 | +requires = ["hatchling"] |
| 3 | +build-backend = "hatchling.build" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "cibuildwheel" |
| 7 | +version = "2.18.0" |
| 8 | +description = "Build Python wheels on CI with minimal configuration." |
| 9 | +readme = "README.md" |
| 10 | +license = "BSD-2-Clause" |
| 11 | +requires-python = ">=3.8" |
| 12 | +authors = [ |
| 13 | + { name = "Joe Rickerby", email = "[email protected]" }, |
4 | 14 | ]
|
5 |
| -build-backend = "setuptools.build_meta" |
| 15 | +keywords = [ |
| 16 | + "appveyor", |
| 17 | + "ci", |
| 18 | + "linux", |
| 19 | + "macos", |
| 20 | + "packaging", |
| 21 | + "pypi", |
| 22 | + "travis", |
| 23 | + "wheel", |
| 24 | + "windows", |
| 25 | +] |
| 26 | +classifiers = [ |
| 27 | + "Development Status :: 5 - Production/Stable", |
| 28 | + "Intended Audience :: Developers", |
| 29 | + "License :: OSI Approved :: BSD License", |
| 30 | + "Natural Language :: English", |
| 31 | + "Programming Language :: Python :: 3", |
| 32 | + "Programming Language :: Python :: 3 :: Only", |
| 33 | + "Programming Language :: Python :: 3.8", |
| 34 | + "Programming Language :: Python :: 3.9", |
| 35 | + "Programming Language :: Python :: 3.10", |
| 36 | + "Programming Language :: Python :: 3.11", |
| 37 | + "Programming Language :: Python :: 3.12", |
| 38 | + "Programming Language :: Python :: Implementation :: CPython", |
| 39 | + "Topic :: Software Development :: Build Tools", |
| 40 | +] |
| 41 | +dependencies = [ |
| 42 | + "bashlex!=0.13", |
| 43 | + "bracex", |
| 44 | + "certifi", |
| 45 | + "filelock", |
| 46 | + "packaging>=20.9", |
| 47 | + "platformdirs", |
| 48 | + "tomli;python_version < '3.11'", |
| 49 | + "typing-extensions>=4.1.0;python_version < '3.11'", |
| 50 | +] |
| 51 | + |
| 52 | +[project.optional-dependencies] |
| 53 | +bin = [ |
| 54 | + "click", |
| 55 | + "packaging>=21.0", |
| 56 | + "pip-tools", |
| 57 | + "pygithub", |
| 58 | + "pyyaml", |
| 59 | + "requests", |
| 60 | + "rich>=9.6", |
| 61 | +] |
| 62 | +dev = [ |
| 63 | + "cibuildwheel[test,bin]", |
| 64 | +] |
| 65 | +docs = [ |
| 66 | + "jinja2>=3.1.2", |
| 67 | + "mkdocs-include-markdown-plugin==2.8.0", |
| 68 | + "mkdocs-macros-plugin", |
| 69 | + "mkdocs==1.3.1", |
| 70 | + "pymdown-extensions", |
| 71 | +] |
| 72 | +test = [ |
| 73 | + "build", |
| 74 | + "jinja2", |
| 75 | + "pytest-timeout", |
| 76 | + "pytest-xdist", |
| 77 | + "pytest>=6", |
| 78 | + "tomli_w", |
| 79 | + "validate-pyproject", |
| 80 | +] |
| 81 | + |
| 82 | +[project.scripts] |
| 83 | +cibuildwheel = "cibuildwheel.__main__:main" |
6 | 84 |
|
| 85 | +[project.entry-points."validate_pyproject.tool_schema"] |
| 86 | +cibuildwheel = "cibuildwheel.schema:get_schema" |
| 87 | + |
| 88 | +[project.urls] |
| 89 | +Changelog = "https://github.com/pypa/cibuildwheel#changelog" |
| 90 | +Documentation = "https://cibuildwheel.pypa.io" |
| 91 | +Homepage = "https://github.com/pypa/cibuildwheel" |
7 | 92 |
|
8 | 93 | [tool.pytest.ini_options]
|
9 | 94 | minversion = "6.0"
|
@@ -57,21 +142,6 @@ module = [
|
57 | 142 | ignore_missing_imports = true
|
58 | 143 |
|
59 | 144 |
|
60 |
| -[tool.check-manifest] |
61 |
| -ignore = [ |
62 |
| - ".*", |
63 |
| - ".circleci/**", |
64 |
| - "test/**", |
65 |
| - "unit_test/**", |
66 |
| - "docs/**", |
67 |
| - "examples/**", |
68 |
| - "bin/**", |
69 |
| - "*.yml", |
70 |
| - "CI.md", # TODO: can change test/test_ssl and remove this |
71 |
| - "requirements-dev.txt", |
72 |
| - "noxfile.py", |
73 |
| -] |
74 |
| - |
75 | 145 | [tool.pylint]
|
76 | 146 | py-version = "3.8"
|
77 | 147 | jobs = "0"
|
@@ -162,6 +232,7 @@ flake8-unused-arguments.ignore-variadic-names = true
|
162 | 232 | [tool.ruff.lint.per-file-ignores]
|
163 | 233 | "unit_test/*" = ["PLC1901"]
|
164 | 234 | "cibuildwheel/_compat/**.py" = ["TID251"]
|
| 235 | +"bin/*" = ["TID251"] |
165 | 236 |
|
166 | 237 | [tool.repo-review]
|
167 | 238 | ignore = ["PC170", "PP303"]
|
0 commit comments