Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link to build_meta documentation #2415

Merged
merged 3 commits into from
Oct 17, 2020
Merged

Link to build_meta documentation #2415

merged 3 commits into from
Oct 17, 2020

Conversation

alvyjudy
Copy link
Contributor

@alvyjudy alvyjudy commented Oct 7, 2020

Summary of changes

I added a paragraph of text in the index that briefly mentions how setuptools works under pep517, and provided a link to the build_meta document as mentioned in (#1698 ).

At first I thought the quickstart has already covered this document, but judging from the discussion, it seems like it still deserves its own page. It appears that the quickstart should target the end users that are not concerned about this internal module.

Pull Request Checklist

  • Changes have tests
  • News fragment added in changelog.d. See documentation for details

====================

Since setuptools no longer serves as the default build tool, one must explicitly
opt in (by providing a ``pyproject.toml`` file) to use this library. The user
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's use a :file: role here:

Suggested change
opt in (by providing a ``pyproject.toml`` file) to use this library. The user
opt in (by providing a :file:`pyproject.toml` file) to use this library. The user


Since setuptools no longer serves as the default build tool, one must explicitly
opt in (by providing a ``pyproject.toml`` file) to use this library. The user
facing part is provided by `PEP517 <https://pypi.org/project/pep517/>`_ and
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm pretty sure that this shouldn't point users to a specific implementation. There's plenty, including pip. I'd rather point to the PEP page using

:pep:`517`

Besides, the CLI present in the pep517 package has always been unstable and experimental, and it is being deprecated in favor of another project called build that is about to be accepted under the roof of PyPA: https://mail.python.org/archives/list/pypa-committers@python.org/thread/LNOO7Q2RW55BVYCJK2LP4DEIMHC5D44F/.

@alvyjudy
Copy link
Contributor Author

Thanks for the review. I have made the edits.

docs/userguide/index.rst Outdated Show resolved Hide resolved
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
@jaraco jaraco merged commit 82d9975 into pypa:master Oct 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants