Repository navigation
Update sdist specification to refer to PEP 517 - #472
Conversation
| standard library's ``distutils`` module when executing the ``setup.py sdist`` | ||
| command. | ||
| Given :pep:`517`, a new style of source tree format is defined | ||
| based in ``pyproject.toml`` which is defined in :pep:`518`. |
| Instead, its format is implicitly defined by the behaviour of the | ||
| standard library's ``distutils`` module when executing the ``setup.py sdist`` | ||
| command. | ||
| Given :pep:`517`, a new style of source tree format is defined |
|
|
||
| But the legacy source distribution format still exists and | ||
| is defined using ``setup.py``. | ||
| It's format is implicitly defined by the behaviour of the |
| But the legacy source distribution format still exists and | ||
| is defined using ``setup.py``. | ||
| It's format is implicitly defined by the behaviour of the | ||
| standard library's ``distutils`` module when executing the ``setup.py sdist``. |
There was a problem hiding this comment.
"standard library" rather than "standard library's" is more common usage in my experience
| Given :pep:`517`, a new style of source tree format is defined | ||
| based in ``pyproject.toml`` which is defined on :pep:`518`. | ||
|
|
||
| But the legacy source distribution format still exists and |
There was a problem hiding this comment.
I'd remove the "But" here, or use "However, the legacy..." if you prefer.
ee2bc80 to
ca0a8ed
Compare
pradyunsg
left a comment
There was a problem hiding this comment.
Sorry for being picky but there are some grammar related issues here. :)
Thanks for the PR @nitinprakash96! ^>^
| standard library's ``distutils`` module when executing the ``setup.py sdist`` | ||
| command. | ||
| With adoption of :pep:`517`, a new style of source tree format is defined | ||
| based in ``pyproject.toml`` which is defined on :pep:`518`. |
| With adoption of :pep:`517`, a new style of source tree format is defined | ||
| based in ``pyproject.toml`` which is defined on :pep:`518`. | ||
|
|
||
| However, the legacy source distribution format still exists and |
There was a problem hiding this comment.
I suggest the following language:
There is also the legacy source distribution format, implicitly defined by the behaviour of
distutilsmodule in the the standard library, when executingsetup.py sdist.
| Instead, its format is implicitly defined by the behaviour of the | ||
| standard library's ``distutils`` module when executing the ``setup.py sdist`` | ||
| command. | ||
| With adoption of :pep:`517`, a new style of source tree format is defined |
|
I've made the suggested changes @pradyunsg. Let me know if more changes are required. |
theacodes
left a comment
There was a problem hiding this comment.
One thing I'd love to see here is which release of pip supports the new format, and the date on which that release was made. This ties into @ncoghlan's comment on the original issue about this taking some time to be adopted widely.
|
@jonparrott None yet... Support for PEP 517 is planned, but no-one has yet really started work on it. We've been working on getting PEP 518 support (specifying build dependency information in |
|
PEP 518 support was released in pip 10, which was released 2 days ago on 14/04/2018, if that helps. |
|
Sorry for the delayed response. @jonparrott since there is no solid timescale as per @pfmoore. What should I include? |
|
Given that context, it seems we should probably re-word this a bit to call out that PEP 517, while accepted, has not yet been implemented. |
|
Does the following para sound good? Or I should change it to something else? Or should I just add a line calling out that |
|
@nitinprakash96 that works. :) |
|
s/adopted from/adopted by/? Just add to the same paragraph. :) |
|
I've made the changes. Let me know if more are required. :) |
|
Thank you, @nitinprakash96! |
#388