{"action":"created","issue":{"url":"https://api.github.com/repos/hpcugent/vsc-install/issues/21","repository_url":"https://api.github.com/repos/hpcugent/vsc-install","labels_url":"https://api.github.com/repos/hpcugent/vsc-install/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/hpcugent/vsc-install/issues/21/comments","events_url":"https://api.github.com/repos/hpcugent/vsc-install/issues/21/events","html_url":"https://github.com/hpcugent/vsc-install/issues/21","id":131130033,"number":21,"title":"shared setup should specify that `vsc` in a namespace package","user":{"login":"boegel","id":620876,"avatar_url":"https://avatars.githubusercontent.com/u/620876?v=3","gravatar_id":"","url":"https://api.github.com/users/boegel","html_url":"https://github.com/boegel","followers_url":"https://api.github.com/users/boegel/followers","following_url":"https://api.github.com/users/boegel/following{/other_user}","gists_url":"https://api.github.com/users/boegel/gists{/gist_id}","starred_url":"https://api.github.com/users/boegel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boegel/subscriptions","organizations_url":"https://api.github.com/users/boegel/orgs","repos_url":"https://api.github.com/users/boegel/repos","events_url":"https://api.github.com/users/boegel/events{/privacy}","received_events_url":"https://api.github.com/users/boegel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-03T19:36:34Z","updated_at":"2016-02-05T08:50:37Z","closed_at":null,"body":"With the vsc-base/vsc-install split, EasyBuild users are running into warnings like:\r\n\r\n```\r\n/usr/local/easybuild/2.6.0/software/EasyBuild/2.6.0/lib/python2.6/site-packages/vsc_base-2.4.16-py2.6.egg/vsc/__init__.py:29:\r\nUserWarning: Module vsc was already imported from\r\n/usr/local/easybuild/2.6.0/software/EasyBuild/2.6.0/lib/python2.6/site-packages/vsc_base-2.4.16-py2.6.egg/vsc/__init__.pyc,\r\nbut /usr/local/easybuild/2.6.0/software/EasyBuild/2.6.0/lib/python2.6/site-packages/vsc_install-0.9.12-py2.6.egg is being added to sys.path\r\n\r\n  import pkg_resources\r\n```\r\n\r\n(cfr. https://github.com/hpcugent/easybuild-framework/issues/1588)\r\n\r\nIt seems like this can be solved by specifying that `vsc` is a namespace packages, see https://pythonhosted.org/setuptools/setuptools.html#namespace-packages."},"comment":{"url":"https://api.github.com/repos/hpcugent/vsc-install/issues/comments/180255846","html_url":"https://github.com/hpcugent/vsc-install/issues/21#issuecomment-180255846","issue_url":"https://api.github.com/repos/hpcugent/vsc-install/issues/21","id":180255846,"user":{"login":"stdweird","id":1517606,"avatar_url":"https://avatars.githubusercontent.com/u/1517606?v=3","gravatar_id":"","url":"https://api.github.com/users/stdweird","html_url":"https://github.com/stdweird","followers_url":"https://api.github.com/users/stdweird/followers","following_url":"https://api.github.com/users/stdweird/following{/other_user}","gists_url":"https://api.github.com/users/stdweird/gists{/gist_id}","starred_url":"https://api.github.com/users/stdweird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stdweird/subscriptions","organizations_url":"https://api.github.com/users/stdweird/orgs","repos_url":"https://api.github.com/users/stdweird/repos","events_url":"https://api.github.com/users/stdweird/events{/privacy}","received_events_url":"https://api.github.com/users/stdweird/received_events","type":"User","site_admin":false},"created_at":"2016-02-05T08:50:36Z","updated_at":"2016-02-05T08:50:36Z","body":"well, the magic content in the eb `__init__` is wrong. i also do not understand the original error message, as eb doesn't use `pkg_resources`.\r\n\r\nthe warnings can't come only from your exlpanation, as i've never seen them, and i have quite a few more packages extending `vsc` namespace installed.\r\n\r\nbtw, how do you know that only one `__init__` is imported? \r\n\r\n(but i won't object the change or anything, it can only improve stuff)"}}