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

Remove usage of deprecated distutils. #189

Merged
merged 2 commits into from
Nov 19, 2021
Merged

Remove usage of deprecated distutils. #189

merged 2 commits into from
Nov 19, 2021

Conversation

jaraco
Copy link
Contributor

@jaraco jaraco commented Nov 10, 2021

No description provided.

…ting distutils implicitly on PyPy when pkg_resources is imported. Ref #188.
@@ -178,8 +177,12 @@ def install_package(self, pkg_name, installer='easy_install', build_egg=None):
False: Runs 'python setup.py develop'
None (default): installs the egg if available in dist/, otherwise develops it
"""
installed = [p for p in working_set if p.project_name == pkg_name]
if not installed or installed[0].location.endswith('.egg'):
def location(dist):
Copy link
Collaborator

Choose a reason for hiding this comment

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

praise for neat trick

Copy link
Collaborator

@eeaston eeaston left a comment

Choose a reason for hiding this comment

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

Many thanks for your contribution! LGTM

@eeaston eeaston merged commit ede39f7 into man-group:master Nov 19, 2021
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.

2 participants