Closed
Conversation
Contributor
|
So this changes spyder (effectively) from a python2 app to a python3 app? |
Member
Author
|
Well, it gives the possibility to have it as both Python 2 and Python 3 app. However, in this PR Python 2 is broken, therefore, still WIP. So effectively, yes. |
Set environment variable to use setuptools.
Member
Author
|
@bjornfor Builds and runs on 2.7, 3.3 and 3.4 |
Contributor
|
I thought this would work: but it didn't: |
Contributor
|
Doh, I just had to use "self.rope" instead of "rope" :-) |
Contributor
|
Spyder with python3 fails to start: |
Contributor
|
No, that was my bad, I had PYTHONPATH pointing to python2 stuff. It starts fine. |
Contributor
Member
Author
|
Thanks for merging. I see you now added rope to the Py2 version. That's indeed a bit nicer for the Py2 users :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This upgrades spyder to the latest version.
Currently, spyder on Nix is only available for Python 2 while it can work with Python 3 as well.
Therefore, I added
spyder = callPackage ../applications/science/spyder {};.The module
ropeis recommended but not (yet) ported to Python 3. Therefore, I removed it from the list of requirements. It might be nice to optionally add it for Python 2. Also, how to handle the rope option on the top?It built and worked fine on Python 3. However, on Python 2 installation failed with
error: option --old-and-unmanageable not recognized.