Update pep-0517.txt (#1217)
This commit is contained in:
parent
5b10add46e
commit
4e7952166b
13
pep-0517.txt
13
pep-0517.txt
|
@ -51,7 +51,7 @@ installation tools like ``pip`` to interact with package source trees
|
|||
and source distributions.
|
||||
|
||||
=======================
|
||||
Provisional Acceptance
|
||||
Provisional acceptance
|
||||
=======================
|
||||
|
||||
In accordance with the PyPA's specification process, this PEP has been
|
||||
|
@ -178,7 +178,7 @@ the "In-Tree Build Backends" section below. This key would be used as follows::
|
|||
backend-path = ["backend"]
|
||||
|
||||
|
||||
Build Requirements
|
||||
Build requirements
|
||||
==================
|
||||
|
||||
This PEP places a number of additional requirements on the "build requirements"
|
||||
|
@ -541,7 +541,7 @@ package *authors*, while still allowing *end-users* to open up the
|
|||
hood and apply duct tape when necessary.
|
||||
|
||||
|
||||
In-Tree Build Backends
|
||||
In-tree build backends
|
||||
======================
|
||||
|
||||
In certain circumstances, projects may wish to include the source code for the
|
||||
|
@ -687,7 +687,7 @@ automatically upgrade packages to the new format:
|
|||
|
||||
|
||||
===============================
|
||||
Summary of Changes to PEP 517
|
||||
Summary of changes to PEP 517
|
||||
===============================
|
||||
|
||||
The following changes were made to this PEP after the initial reference
|
||||
|
@ -821,10 +821,9 @@ build backend::
|
|||
|
||||
def _exclude_hidden_and_special_files(archive_entry):
|
||||
"""Tarfile filter to exclude hidden and special files from the archive"""
|
||||
if entry.isfile() or entry.isdir():
|
||||
if archive_entry.isfile() or archive_entry.isdir():
|
||||
if not os.path.basename(archive_entry.name).startswith("."):
|
||||
return archive_entry
|
||||
return None
|
||||
|
||||
def _make_sdist(sdist_dir):
|
||||
"""Make an sdist and return both the Python object and its filename"""
|
||||
|
@ -960,7 +959,7 @@ their subprocess runner like::
|
|||
if hasattr(backend, "prepare_metadata_for_build_wheel"):
|
||||
subdir = backend.prepare_metadata_for_build_wheel(working_dir)
|
||||
else:
|
||||
wheel_fname = backend.build_wheel(working_dir))
|
||||
wheel_fname = backend.build_wheel(working_dir)
|
||||
already_built = os.path.join(working_dir, "ALREADY_BUILT_WHEEL")
|
||||
with open(already_built, "w") as f:
|
||||
f.write(wheel_fname)
|
||||
|
|
Loading…
Reference in New Issue