-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Henry Schreiner <[email protected]> Co-authored-by: Brett Cannon <[email protected]>
- Loading branch information
1 parent
44efc1f
commit d0bed88
Showing
4 changed files
with
42 additions
and
97 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,41 @@ | ||
[build-system] | ||
requires = ['setuptools >= 40.8.0', 'wheel'] | ||
build-backend = 'setuptools.build_meta' | ||
requires = ["flit_core >=3.3"] | ||
build-backend = "flit_core.buildapi" | ||
|
||
|
||
[project] | ||
name = "packaging" | ||
description = "Core utilities for Python packages" | ||
version = "21.4.dev0" | ||
readme = "README.rst" | ||
requires-python = ">=3.7" | ||
authors = [{name = "Donald Stufft", email = "[email protected]"}] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: Apache Software License", | ||
"License :: OSI Approved :: BSD License", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"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 :: Implementation :: CPython", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
] | ||
dependencies = [] | ||
|
||
[project.urls] | ||
Documentation = "https://packaging.pypa.io/" | ||
Source = "https://github.com/pypa/packaging" | ||
|
||
|
||
[tool.flit.sdist] | ||
include = ["LICENSE*", "tests/", "docs/"] | ||
exclude = ["docs/_build", "tests/manylinux/build-hello-world.sh", "tests/musllinux/build.sh", "tests/hello-world.c", "tests/__pycache__", "build/__pycache__"] | ||
|
||
|
||
[tool.coverage.run] | ||
|
@@ -19,3 +54,8 @@ enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"] | |
[[tool.mypy.overrides]] | ||
module = ["_manylinux"] | ||
ignore_missing_imports = true | ||
|
||
|
||
[tool.isort] | ||
profile = "black" | ||
combine_as_imports = true |
d0bed88
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Big thank you for this! We've been hacking something like that locally in Gentoo to avoid cyclic dependencies while bootstrapping setuptools without vendored dependencies, and every package switching to flit_core is a great help.