-
Notifications
You must be signed in to change notification settings - Fork 283
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
check for installation of pip & setuptools in Python 3.4+ #2108
Conversation
See easybuilders/easybuild-easyconfigs#11009 for how this fails
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still have to take this for a test drive
Co-authored-by: Alex Domingo <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just waiting on the install to finish to confirm the additional sanity checks are used
Going in, thanks @Flamefire |
Python 3.4 comes with pip and setuptools. This is even required to install (the newer) pip in the EC so not having it is an error.
Furthermore installation of pip/setuptools fails if a distutils user config sets the
prefix
to a different directory as that would be where pip is then installed. See easybuilders/easybuild-easyconfigs#11009Hence check for that and report a (verbose) warning.