Skip to content

Conversation

@abravalheri
Copy link
Contributor

Summary of changes

  • Fix condition in the setuptools.command.install to detect whether the command was called directly from setup() or by another command.

Closes #3198

Pull Request Checklist

Starting in v61, setuptools.dist overwrites distutils.dist.run_command to add auto-discovery functionality on top of the original implementation. This change modifies the existing code in setuptools.command.install to consider that previous change when trying to decide if the install command was called directly from `setup.py` or not.
@abravalheri abravalheri marked this pull request as ready for review March 26, 2022 07:43
@abravalheri abravalheri merged commit a23f983 into pypa:main Mar 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant