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

Fix setuptools url and curl wants --location to follow redirects #559

Merged
merged 2 commits into from
Apr 25, 2016

Conversation

jimfulton
Copy link
Contributor

This change also removes:

sys.meta_path = [importer for importer in sys.meta_path if
                 importer.__class__.__module__ != 'pkg_resources.extern']

from _unload_pkg_resources.

These lines were removed from the version at: https://bootstrap.pypa.io/ez_setup.py

I don't know why the code there and here differs.

This change also removes:

    sys.meta_path = [importer for importer in sys.meta_path if
                     importer.__class__.__module__ != 'pkg_resources.extern']

from _unload_pkg_resources.

These lines were removed from the version at: https://bootstrap.pypa.io/ez_setup.py

I don't know why the code there and here differs.
@jimfulton
Copy link
Contributor Author

Fixes 557, I think.

@jimfulton
Copy link
Contributor Author

Fixes #557, I think.

@agronholm
Copy link
Contributor

That meta path manipulation unloads the old import hook when upgrading setuptools. Why did you remove it? It was necessary to fix #519.

@jimfulton
Copy link
Contributor Author

@agronholm I was just reflecting what was at https://bootstrap.pypa.io/ez_setup.py

I'll put them back.

@jimfulton
Copy link
Contributor Author

@agronholm I restored your fix and the PR makes more sense now.

@jimfulton
Copy link
Contributor Author

jimfulton commented Apr 25, 2016

Thanks @jaraco .

Can you also merge: #560 to get the ez_setup.py changes on the bootstrap branch so they show up at: https://bootstrap.pypa.io/ez_setup.py ?

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.

None yet

4 participants