Commit Graph

27 Commits

Author SHA1 Message Date
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