-
Notifications
You must be signed in to change notification settings - Fork 12
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
How to handle Python version differences? #17
Comments
I wonder if we could look for |
I feel like this discussion can provide some light on the matter flycheck/flycheck#1055 |
@shackra Can you give me the executive summary of that discussion? If it's simply "use |
I can't right now, sorry!
I actually have a hook for I'm too much words and not so much action, but that is my suggestion (I wish I could provide a proof of concept right here, but I don't have the time for that neither :(, hope you keep this issue open thus maybe I can provide something in the near future). |
The python interpreter running traad needs to have traad and, critically, its dependencies available to it. So we can't just do |
Wait, what I mean is like running the binary pointed by
With traad, should have good enough information which major version it should caters to. |
Ah, yes, we might be able to get that to work. This seems to work for python, ipython, and bpython:
|
Our current system for starting servers is, in principle, too simple. We allow the user to specify a single virtualenv from which servers will be launched. Yet users could be working on Python 2 and Python 3 projects in the same emacs session.
What we want is some way to specify different traad/virtualenv versions for different projects. When starting a server, maybe could look for a
.traad
file telling us which version of the server to start. Or maybe we could keep something in.ropeproject
, e.g..ropeproject/traad.ini
.This leaves open the question of how these files are made in the first place...
The text was updated successfully, but these errors were encountered: