-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Solution for upgrading to the new setuptools #992
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
Conversation
assert initools_folder in result.files_created, str(result) | ||
|
||
|
||
#def test_distutils_configuration_setting(): |
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.
Did you mean to comment all of this out?
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.
this test has existed commented out for awhile. I don't know the history.
In the recent test refactor I did, I had removed this test, but in the conflict/merge for this pull, it crept back in somehow.
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'll delete it back out again, before merging.
setuptools-0.8 is soon to be out (and is 2&3 compatible), which allows us to remove some of the hacks in this pull. |
Solution for upgrading to the new setuptools
this pull contains a pip-only solution for upgrading to the new setuptools
(i.e. no more changes required to distribute-0.7 or setuptools-0.7.2)
If Jason releases setuptools-0.8 (that's 2&3 compat), then part of these changes could be removed. Additionally, if Jason decided to proceed with the setuptools-import hack he mentioned in #986, then I think none of this would be required.
posting this as a draft for now, because I'm too tired to look at it or refine it anymore more at the moment, but I think it's working.
I tried a few different solutions (none pretty). This is where I ended up.
these scenarios work (i.e. they result in setuptools-0.7.2 installed):
pip install -U distribute
(I was using --find-links locally to find a local sdist of distribute-0.7)pip install -U setuptools
the change, in brief (read #986 or the code comments if you need more backstory)
this pull is against develop. if we wanted it in a patch, then I could rework against 1.3.X.