{"action":"created","issue":{"url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/605","repository_url":"https://api.github.com/repos/davidhalter/jedi-vim","labels_url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/605/labels{/name}","comments_url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/605/comments","events_url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/605/events","html_url":"https://github.com/davidhalter/jedi-vim/issues/605","id":170794909,"number":605,"title":"Jedi uses VIRTUAL_ENV always","user":{"login":"GitFree","id":1074340,"avatar_url":"https://avatars.githubusercontent.com/u/1074340?v=3","gravatar_id":"","url":"https://api.github.com/users/GitFree","html_url":"https://github.com/GitFree","followers_url":"https://api.github.com/users/GitFree/followers","following_url":"https://api.github.com/users/GitFree/following{/other_user}","gists_url":"https://api.github.com/users/GitFree/gists{/gist_id}","starred_url":"https://api.github.com/users/GitFree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GitFree/subscriptions","organizations_url":"https://api.github.com/users/GitFree/orgs","repos_url":"https://api.github.com/users/GitFree/repos","events_url":"https://api.github.com/users/GitFree/events{/privacy}","received_events_url":"https://api.github.com/users/GitFree/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/davidhalter/jedi-vim/labels/feature","name":"feature","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-08-12T03:59:40Z","updated_at":"2016-08-16T21:13:17Z","closed_at":null,"body":"Version: lastest\r\nENV: MacOSX 10.11.15 + vim \r\nPhenomenon:\r\n1. My project need package libs(called libs just for example), I installed libs in my virtualenv, jedi-vim goto virtualenv libs package, which is correct. \r\n2. Then I want to debug and edit libs, so I copy libs to my project root dir,  the jedi-vim still goto virutalenv libs package, which is wrong, because python will run my root dir libs package.\r\n3. Then I leave my virtualenv, jedi-vim goto my root dir libs package, which is correct.\r\n\r\nIssue: jedi-vim goto wrong definition package directory if project root dir have same package name as virtualenv"},"comment":{"url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/comments/240240788","html_url":"https://github.com/davidhalter/jedi-vim/issues/605#issuecomment-240240788","issue_url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/605","id":240240788,"user":{"login":"davidhalter","id":748594,"avatar_url":"https://avatars.githubusercontent.com/u/748594?v=3","gravatar_id":"","url":"https://api.github.com/users/davidhalter","html_url":"https://github.com/davidhalter","followers_url":"https://api.github.com/users/davidhalter/followers","following_url":"https://api.github.com/users/davidhalter/following{/other_user}","gists_url":"https://api.github.com/users/davidhalter/gists{/gist_id}","starred_url":"https://api.github.com/users/davidhalter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidhalter/subscriptions","organizations_url":"https://api.github.com/users/davidhalter/orgs","repos_url":"https://api.github.com/users/davidhalter/repos","events_url":"https://api.github.com/users/davidhalter/events{/privacy}","received_events_url":"https://api.github.com/users/davidhalter/received_events","type":"User","site_admin":false},"created_at":"2016-08-16T21:13:17Z","updated_at":"2016-08-16T21:13:17Z","body":"Actually I'm not really sure that I care too much until we have a proper implementation of virtualenvs in Jedi. I'm also closing because of that (there exists a feature issue in Jedi that covers this)\r\n\r\nBut at the same time I don't think it's a virtualenv issue, really. You can probably produce the same behavior when you install globally. Jedi uses the `sys.path` without the current directory as first priority and then starts to analyze other stuff, because I think that's the best way to know if something is on the sys.path or not.\r\n\r\nI think using `pip install -e .` is perfect for a lot of projects but unfortunately not many people know."}}
{"actor":{"display_login":"davidhalter"}}