{"action":"created","issue":{"url":"https://api.github.com/repos/spotify/dh-virtualenv/issues/189","repository_url":"https://api.github.com/repos/spotify/dh-virtualenv","labels_url":"https://api.github.com/repos/spotify/dh-virtualenv/issues/189/labels{/name}","comments_url":"https://api.github.com/repos/spotify/dh-virtualenv/issues/189/comments","events_url":"https://api.github.com/repos/spotify/dh-virtualenv/issues/189/events","html_url":"https://github.com/spotify/dh-virtualenv/issues/189","id":193522124,"number":189,"title":"Cannot import modules from editable pip dependencies","user":{"login":"anka-sirota","id":176934,"avatar_url":"https://avatars.githubusercontent.com/u/176934?v=3","gravatar_id":"","url":"https://api.github.com/users/anka-sirota","html_url":"https://github.com/anka-sirota","followers_url":"https://api.github.com/users/anka-sirota/followers","following_url":"https://api.github.com/users/anka-sirota/following{/other_user}","gists_url":"https://api.github.com/users/anka-sirota/gists{/gist_id}","starred_url":"https://api.github.com/users/anka-sirota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anka-sirota/subscriptions","organizations_url":"https://api.github.com/users/anka-sirota/orgs","repos_url":"https://api.github.com/users/anka-sirota/repos","events_url":"https://api.github.com/users/anka-sirota/events{/privacy}","received_events_url":"https://api.github.com/users/anka-sirota/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-05T15:06:37Z","updated_at":"2016-12-05T16:23:00Z","closed_at":"2016-12-05T16:23:00Z","body":"Hi! I have a package that has editable dependencies which seem to build and install correctly, but are not available inside the resulting venv after the package is installed.\r\nLooking closely into the site-packages, I see the `.egg-link`s files for those editable modules, and they all look like this:\r\n\r\n```\r\n/build/<package>/debian/<package>/opt/venvs/<package>/src/<module>\r\n.\r\n```\r\n`dh_virtualenv` reports version 0.11\r\n\r\nAlso, `site-packages/easy-install.pth` contains build-related paths as well:\r\n\r\n```\r\nimport sys; sys.__plen = len(sys.path)\r\n./distribute-0.6.24-py2.7.egg\r\n./pip-1.1-py2.7.egg\r\n/build/<package>/debian/<package>/opt/venvs/<package>/src/<module>\r\nimport sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p+len(new)\r\n```\r\n\r\nMaybe I'm missing some configuration option here\r\nIs there any way to fix this and make editable deps work? "},"comment":{"url":"https://api.github.com/repos/spotify/dh-virtualenv/issues/comments/264899559","html_url":"https://github.com/spotify/dh-virtualenv/issues/189#issuecomment-264899559","issue_url":"https://api.github.com/repos/spotify/dh-virtualenv/issues/189","id":264899559,"user":{"login":"nailor","id":63688,"avatar_url":"https://avatars.githubusercontent.com/u/63688?v=3","gravatar_id":"","url":"https://api.github.com/users/nailor","html_url":"https://github.com/nailor","followers_url":"https://api.github.com/users/nailor/followers","following_url":"https://api.github.com/users/nailor/following{/other_user}","gists_url":"https://api.github.com/users/nailor/gists{/gist_id}","starred_url":"https://api.github.com/users/nailor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nailor/subscriptions","organizations_url":"https://api.github.com/users/nailor/orgs","repos_url":"https://api.github.com/users/nailor/repos","events_url":"https://api.github.com/users/nailor/events{/privacy}","received_events_url":"https://api.github.com/users/nailor/received_events","type":"User","site_admin":false},"created_at":"2016-12-05T16:23:00Z","updated_at":"2016-12-05T16:23:00Z","body":"No prob, good to know there are more people in need of this :)\r\n\r\nI'll close this bug as a duplicate, but please feel free to re-open in case you don't agree!"}}
{"actor":{"display_login":"nailor"}}