{"action":"created","issue":{"url":"https://api.github.com/repos/galaxyproject/galaxy/issues/1301","labels_url":"https://api.github.com/repos/galaxyproject/galaxy/issues/1301/labels{/name}","comments_url":"https://api.github.com/repos/galaxyproject/galaxy/issues/1301/comments","events_url":"https://api.github.com/repos/galaxyproject/galaxy/issues/1301/events","html_url":"https://github.com/galaxyproject/galaxy/issues/1301","id":121748963,"number":1301,"title":"Namespace packages and pip/wheel do not play together correctly","user":{"login":"natefoo","id":286969,"avatar_url":"https://avatars.githubusercontent.com/u/286969?v=3","gravatar_id":"","url":"https://api.github.com/users/natefoo","html_url":"https://github.com/natefoo","followers_url":"https://api.github.com/users/natefoo/followers","following_url":"https://api.github.com/users/natefoo/following{/other_user}","gists_url":"https://api.github.com/users/natefoo/gists{/gist_id}","starred_url":"https://api.github.com/users/natefoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natefoo/subscriptions","organizations_url":"https://api.github.com/users/natefoo/orgs","repos_url":"https://api.github.com/users/natefoo/repos","events_url":"https://api.github.com/users/natefoo/events{/privacy}","received_events_url":"https://api.github.com/users/natefoo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/galaxyproject/galaxy/labels/area/framework","name":"area/framework","color":"006b75"},{"url":"https://api.github.com/repos/galaxyproject/galaxy/labels/kind/bug","name":"kind/bug","color":"408DE0"}],"state":"open","locked":false,"assignee":{"login":"natefoo","id":286969,"avatar_url":"https://avatars.githubusercontent.com/u/286969?v=3","gravatar_id":"","url":"https://api.github.com/users/natefoo","html_url":"https://github.com/natefoo","followers_url":"https://api.github.com/users/natefoo/followers","following_url":"https://api.github.com/users/natefoo/following{/other_user}","gists_url":"https://api.github.com/users/natefoo/gists{/gist_id}","starred_url":"https://api.github.com/users/natefoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natefoo/subscriptions","organizations_url":"https://api.github.com/users/natefoo/orgs","repos_url":"https://api.github.com/users/natefoo/repos","events_url":"https://api.github.com/users/natefoo/events{/privacy}","received_events_url":"https://api.github.com/users/natefoo/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/galaxyproject/galaxy/milestones/1","html_url":"https://github.com/galaxyproject/galaxy/milestones/16.01","labels_url":"https://api.github.com/repos/galaxyproject/galaxy/milestones/1/labels","id":1340720,"number":1,"title":"16.01","description":"Tentative freeze date for 16.01","creator":{"login":"erasche","id":458683,"avatar_url":"https://avatars.githubusercontent.com/u/458683?v=3","gravatar_id":"","url":"https://api.github.com/users/erasche","html_url":"https://github.com/erasche","followers_url":"https://api.github.com/users/erasche/followers","following_url":"https://api.github.com/users/erasche/following{/other_user}","gists_url":"https://api.github.com/users/erasche/gists{/gist_id}","starred_url":"https://api.github.com/users/erasche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erasche/subscriptions","organizations_url":"https://api.github.com/users/erasche/orgs","repos_url":"https://api.github.com/users/erasche/repos","events_url":"https://api.github.com/users/erasche/events{/privacy}","received_events_url":"https://api.github.com/users/erasche/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":50,"state":"open","created_at":"2015-10-06T16:36:51Z","updated_at":"2015-12-11T23:45:19Z","due_on":"2016-01-05T06:00:00Z","closed_at":null},"comments":1,"created_at":"2015-12-11T16:52:27Z","updated_at":"2015-12-14T18:23:51Z","closed_at":null,"body":"For example, doing a `pip install Paste==1.7.5.1` results in paste w/o `__init__.py` and thus it is not importable. Creating a paste wheel with `bdist_wheel` results in a wheel w/o `__init__.py` (and it produces the following message):\r\n\r\n```\r\nSkipping installation of build/bdist.linux-x86_64/wheel/paste/__init__.py (namespace package)\r\n```\r\n\r\nI am not sure what's going on here since I believe `pip install` is only reported to behave this way (see pypa/pip#3) when using `-e`, but I'm getting this behavior when trying to install the sdist. Unless something is not working correctly with the `.pth` files in this particular case (testtoolshed venv on radegast). I am also not sure how this hasn't affected more people by now.\r\n\r\nAlso affects `repoze.lru`."},"comment":{"url":"https://api.github.com/repos/galaxyproject/galaxy/issues/comments/164517137","html_url":"https://github.com/galaxyproject/galaxy/issues/1301#issuecomment-164517137","issue_url":"https://api.github.com/repos/galaxyproject/galaxy/issues/1301","id":164517137,"user":{"login":"natefoo","id":286969,"avatar_url":"https://avatars.githubusercontent.com/u/286969?v=3","gravatar_id":"","url":"https://api.github.com/users/natefoo","html_url":"https://github.com/natefoo","followers_url":"https://api.github.com/users/natefoo/followers","following_url":"https://api.github.com/users/natefoo/following{/other_user}","gists_url":"https://api.github.com/users/natefoo/gists{/gist_id}","starred_url":"https://api.github.com/users/natefoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natefoo/subscriptions","organizations_url":"https://api.github.com/users/natefoo/orgs","repos_url":"https://api.github.com/users/natefoo/repos","events_url":"https://api.github.com/users/natefoo/events{/privacy}","received_events_url":"https://api.github.com/users/natefoo/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T18:23:51Z","updated_at":"2015-12-14T18:23:51Z","body":"Upon closer inspection, the proper `-nspkg.pth` files are being created. The reason this is a problem on for the Tool Shed on radegast and nowhere else is probably because it is using uwsgi installed from apt instead of in the virtualenv as we do for Galaxy. This can probably be fixed by setting uwsgi's `-H` option, I just need to test that this is true."}}