-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Use a single setuptools shim #3265
Conversation
@@ -460,11 +458,9 @@ def run_egg_info(self): | |||
# FIXME: This is a lame hack, entirely for PasteScript which has | |||
# a self-provided entry point that causes this awkwardness | |||
_run_setup_py = """ |
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.
I think this "lame hack" present since c2000d7 (7 years now) could now be removed ?
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.
cc @dstufft (I'm talking of the egg_info.egg_info.run = replacement_run
bit)
bee4dd6
to
57ae6fa
Compare
Review status: 0 of 4 files reviewed at latest revision, 3 unresolved discussions. pip/req/req_install.py, line 460 [r1] (raw file): pip/req/req_install.py, line 473 [r2] (raw file): pip/utils/init.py, line 825 [r2] (raw file): Comments from the review on Reviewable.io |
57ae6fa
to
383d41a
Compare
pip/req/req_install.py, line 460 [r1] (raw file): But pip 7.1.2 is currently enable to install PasteScript 0.3/0.3.1 and seems to work with most other versions including the last ones (I didn't try all of them). Removing the hack leads to the same result: crashes with 0.3/0.3.1 and seems to work with other versions including the last ones. Comments from the review on Reviewable.io |
pip/req/req_install.py, line 460 [r1] (raw file): Comments from the review on Reviewable.io |
Updated, cc @rbtcollins @dstufft |
7de7c58
to
fee626d
Compare
Review status: 0 of 4 files reviewed at latest revision, 2 unresolved discussions. pip/req/req_install.py, line 460 [r1] (raw file): Comments from the review on Reviewable.io |
fee626d
to
7f07a6e
Compare
for all setup.py invocations bdist_wheel will now use tokenize in Python 3 just like for install fixes pypa#2042
7f07a6e
to
443309b
Compare
b75c274
to
e7cffaf
Compare
Use a single setuptools shim
for all setup.py invocations