Skip to content

Conversation

@encukou
Copy link
Contributor

@encukou encukou commented Jul 16, 2020

Also, add the pyproject.toml and setup.cfg markers as other possible "marker" files for a "practical way to define projects".


The project entry is currently outdated. Here's my suggestion for updating it.
(Is a PR is the right way to suggest the change, or should I discuss on Discourse first?)

Also, add the pyproject.toml and setup.cfg markers as other possible
"marker" files for a "practical way to define projects".
Copy link
Member

@di di left a comment

Choose a reason for hiding this comment

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

LGTM!

Comment on lines +105 to +106
using either :pep:`518` ``build-system``, :ref:`distutils` or
:ref:`setuptools`, another practical way to define projects currently
Copy link
Member

Choose a reason for hiding this comment

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

I'd also swap distutils/setuptools to keep have list in the order of priority:

Suggested change
using either :pep:`518` ``build-system``, :ref:`distutils` or
:ref:`setuptools`, another practical way to define projects currently
using either :pep:`518` ``build-system``, :ref:`setuptools` or
:ref:`distutils`, another practical way to define projects currently

@encukou
Copy link
Contributor Author

encukou commented Jul 22, 2020

I'm not sure who should do the final approval/merge.
@webknjaz's change looks good; if you agree, please commit/squash/apply it as necessary when merging.

using either :pep:`518` ``build-system``, :ref:`distutils` or
:ref:`setuptools`, another practical way to define projects currently
is something that contains a :term:`pyproject.toml`, :term:`setup.py`,
or :term:`setup.cfg` file at the root of the project source directory.
Copy link
Member

Choose a reason for hiding this comment

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

Is it valid to have setup.cfg without setup.py? That seems like an unrelated change, even if it is true. Maybe we should stick to just adding pyproject.toml?

Copy link
Member

Choose a reason for hiding this comment

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

@pfmoore it is valid to have setup.cfg w/o setup.py if you have a modern enough setuptools version. Like in case with setuptools mentioned as a build dep in pyproject.toml.

Copy link
Member

Choose a reason for hiding this comment

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

OK, but in that case you need a pyproject.toml, so it seems a bit redundant. No big deal, though.

@webknjaz
Copy link
Member

@encukou I don't have merge powers in this repo so it's not up to me.

@pfmoore pfmoore merged commit dd99ee8 into pypa:master Jul 22, 2020
@encukou encukou deleted the update-glossary-project branch July 22, 2020 10:58
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.

4 participants