Skip to content

Remove explicit installation of setuptools#278

Merged
legendecas merged 1 commit intonodejs:mainfrom
cclauss:remove-setuptools
Dec 29, 2024
Merged

Remove explicit installation of setuptools#278
legendecas merged 1 commit intonodejs:mainfrom
cclauss:remove-setuptools

Conversation

@cclauss
Copy link
Copy Markdown
Contributor

@cclauss cclauss commented Dec 28, 2024

Comment thread pylib/gyp/__init__.py


# NOTE: setuptools generated console_scripts calls function with no arguments
# NOTE: console_scripts calls this function with no arguments
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think the original comment is still correct and concise as this function is referenced in pyproject.toml#project.scripts?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The Python Packaging Authortiy has respecified console_scripts to be supported beyond setuptools as discussed at
https://packaging.python.org/en/latest/specifications/entry-points

Copy link
Copy Markdown

@Jayman2000 Jayman2000 left a comment

Choose a reason for hiding this comment

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

I created a script that tests this PR in Python 3.8 through Python 3.13. Everything seems to work fine in all of those versions of Python.

@cclauss cclauss requested a review from legendecas December 29, 2024 09:22
@legendecas legendecas merged commit e476778 into nodejs:main Dec 29, 2024
@cclauss cclauss deleted the remove-setuptools branch December 29, 2024 12:59
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.

At some point, we should stop telling contributors to update setuptools

3 participants