Commit Graph

36 Commits

Author SHA1 Message Date
Mariatta Wijaya 82cd151074
PEP 517: Fix odd url markup (#1992) 2021-06-17 15:49:29 -07:00
Bernát Gábor bd4d3b9d09
PEP-517: On Windows the subprocess calls don't start resolving from the PATH (#1730)
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
2020-12-14 12:13:50 -08:00
Géry Ogam 4e7952166b Update pep-0517.txt (#1217) 2019-10-30 10:11:57 +11:00
Min ho Kim cfb7bd74db Fix typos (#1113) 2019-07-03 11:20:45 -07:00
Nick Coghlan cb033869fc
PEP 517: Clarify expected front end handling of setup.py based trees (#1029)
The previous wording could be taken as suggesting that frontends should opt
out of their PEP 517 processing entirely if build-backend was not defined,
whereas it's actually fine to just use the setuptools provided backend that
implements the legacy build semantics.
2019-05-07 15:37:29 -04:00
Bernát Gábor d6a43fb3f9 PEP 517: Improve wording on including setup.py in the source distribution (#856) 2019-04-10 14:53:29 +01:00
Paul Moore 06ab672e31
PEP 517: Add support for self-hosting backends and in-tree hooks (#901) 2019-03-02 12:04:23 +00:00
Devin Jeanpierre baed024374 Remove misleading ".zip" example sdist (#842)
Later on in the same file, it says that the .zip example can't possibly work: "[source distributions] will be gzipped tar archives, with the .tar.gz extension. Zip archives, or other compression formats for tarballs, are not allowed at present."

This, and other documentation issues not fixed here, was noted in a blog post I was reading: https://blog.schuetze.link/2018/07/21/a-dive-into-packaging-native-python-extensions.html -- full credit to @konstin.
2018-12-03 09:14:23 -08:00
Nick Coghlan 307dda38d4
PEP 1: Add a separate "Provisional" PEP status (#577)
This adds an explicit "Provisional" status for PEPs, making
it easier to track which PEPs are truly Final, and which
are pending further further public feedback based on
their initially published reference implementations.
2018-07-08 11:50:57 +10:00
Mariatta cf3bad5ab3
Revert "Rename all .txt PEP files to .rst (GH-462)" (GH-464)
This reverts commit bb0e518ed3.
2017-11-11 11:28:55 -08:00
Huang Huang bb0e518ed3 Rename all .txt PEP files to .rst (GH-462)
For https://github.com/python/peps/issues/1
2017-11-11 10:30:43 -08:00
Brett Cannon f24bedde3c Fix a spelling mistake 2017-09-29 09:28:56 -07:00
Nick Coghlan a3b49b9b52 Provisionally accept PEP 517 2017-09-29 16:42:07 +10:00
Thomas Kluyver 3a2bf11650 PEP 517: latest round of updates (#384)
* Backends can define UnsupportedOperation exc type
* More rejected alternatives
* Specify srcdir not on sys.path
2017-09-01 20:23:55 +10:00
Thomas Kluyver 597ffbaec1 PEP 517: Remove build_directory parameter (#364)
We seem to be reaching the conclusion that this is not needed, and removing
it allows the spec to be simpler.
2017-08-25 22:36:55 +10:00
Thomas Kluyver e505618795 Move comparison to PEP 516 into an appendix (#313) 2017-07-20 23:37:31 +10:00
Nick Coghlan 11c03654f4 PEP 517: Fix metadata preparation example (#312)
- use plain strings rather than pathlib.Path
- drop config_settings as irrelevant
- return relevant absolute paths from the example
  helper functions
2017-07-20 23:09:00 +10:00
Nick Coghlan 83ae4a58a6 PEP 517: remove prepare_wheel_metadata references (#311)
- replace with prepare_metadata_for_build_wheel where appropriate
- update the API evolution example to be based on build_sdist
  rather than prepare_wheel_metadata
- also clarified the frontend example code covering one way to
  handle prepare_metadata_for_build_wheel being optional
2017-07-20 22:12:48 +10:00
Nick Coghlan 0189da7b60 PEP 517: update backend example (#310)
- update hook names and signatures
- clearly separate sdist building & wheel building
- add support for out-of-tree wheel builds
- clarify build_wheel spec based on updated example
- be explicit that out-of-tree builds should match
  the results of building via sdist
2017-07-16 15:12:00 +10:00
Thomas Kluyver ea76e4431b Add note about fresh subprocess per build (#308) 2017-07-15 14:31:54 +10:00
Thomas Kluyver 36212596ba PEP 517: Update hooks in line with discussion (#307)
- renamed hooks
- replaced input preparation hook with build_directory parameter
- split out hook entries into separate sections
2017-07-14 17:25:30 +10:00
Brett Cannon ed36ec04ac Fix a markup mistake (#306) 2017-07-12 11:56:48 -07:00
Thomas Kluyver e45966c799 PEP 517: Add hook for sdist build deps (#297)
- Add get_build_sdist_requires
- Rename hooks that had become ambiguous given
  two distinct build hooks
- Clarify expected environments for the various hooks
2017-06-25 00:16:21 +10:00
Thomas Kluyver 82ea79a94a PEP 517: Clear up ambiguity about metadata_directory (#292)
An ambiguity in the wording made it look like metadata_directory for build_wheel
would be the same directory as was passed in to the prepare_wheel_metadata hook.
It makes more sense for it to be the .dist-info directory returned from prepare_wheel_metadata.
2017-06-16 16:59:08 +10:00
Thomas Kluyver 477139b3f7 PEP 517: Latest recommended changes
- use sdist and wheel archives as required interchange formats
- use `prepare_*` prefix for optional file export APIs
- return relative paths for generated aritifacts/directories
2017-06-14 21:38:14 +10:00
Thomas Kluyver 22e36e2113 PEP 517: Misc changes from discussion (#288) 2017-06-10 12:59:46 +10:00
Thomas Kluyver 64442c8201 PEP 517: Add sdist and build preparation hooks
Bring PEP 517 up to date with latest distutils-sig discussion:

- sdist export hook
- build preparation hook for out-of-tree builds
2017-06-05 19:44:47 +10:00
Nick Coghlan 02969ebbd2 PEP 517: Revert to Draft status
The provisional acceptance led to some additional valid concerns being raised
with the current design in the PEP, so I'm reverting it to Draft status
while we resolve them.
2017-06-03 02:19:10 +10:00
Nick Coghlan 91299310ff Mark PEP 517 as Accepted 2017-05-29 13:43:34 +10:00
Thomas Kluyver 49b693c46a PEP 517: Specify UTF-8 for captured output (#264) 2017-05-29 11:23:39 +10:00
Thomas Kluyver b12bc6a9fe 517: Change build_backend to build-backend (#139)
The key is in the build-system table, so making this a dash would
improve consistency. On English keyboards, it also avoids needing to
press shift. There seemed to be a consensus on distutils-sig in favour
of this change.
2016-11-28 10:28:44 -08:00
Thomas Kluyver 024a7d586f 517: Remove install_editable hook (Option 1c) (#141)
* 517: Remove install_editable hook (Option 1c)

This is the other option for --user editable installs: don't try to
standardise a mechanism. This could always be added back in a later PEP.

Alternative to gh-140

* Add note about removal of editable install
2016-11-28 10:27:07 -08:00
Thomas Kluyver 94dbee096b Update PEP 517 to use pyproject.toml from PEP 518 (#51)
Update PEP 517 to use pyproject.toml from PEP 518
2016-09-22 21:39:58 +10:00
Serhiy Storchaka 3dad438872 Issue #26916: Fixed words duplications. 2016-05-03 12:03:16 +03:00
Donald Stufft d8ac3d2b80 Fix errors/warnings on PEP 517 2016-02-18 07:02:27 -05:00
Donald Stufft 87804bb08e Assign PEP 517 2016-02-18 06:00:57 -05:00