{"action":"created","issue":{"url":"https://api.github.com/repos/conda-forge/staged-recipes/issues/2667","repository_url":"https://api.github.com/repos/conda-forge/staged-recipes","labels_url":"https://api.github.com/repos/conda-forge/staged-recipes/issues/2667/labels{/name}","comments_url":"https://api.github.com/repos/conda-forge/staged-recipes/issues/2667/comments","events_url":"https://api.github.com/repos/conda-forge/staged-recipes/issues/2667/events","html_url":"https://github.com/conda-forge/staged-recipes/issues/2667","id":216774581,"number":2667,"title":"Using setup.py develop","user":{"login":"nipunbatra","id":60985,"avatar_url":"https://avatars1.githubusercontent.com/u/60985?v=3","gravatar_id":"","url":"https://api.github.com/users/nipunbatra","html_url":"https://github.com/nipunbatra","followers_url":"https://api.github.com/users/nipunbatra/followers","following_url":"https://api.github.com/users/nipunbatra/following{/other_user}","gists_url":"https://api.github.com/users/nipunbatra/gists{/gist_id}","starred_url":"https://api.github.com/users/nipunbatra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nipunbatra/subscriptions","organizations_url":"https://api.github.com/users/nipunbatra/orgs","repos_url":"https://api.github.com/users/nipunbatra/repos","events_url":"https://api.github.com/users/nipunbatra/events{/privacy}","received_events_url":"https://api.github.com/users/nipunbatra/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-24T12:43:08Z","updated_at":"2017-04-03T02:46:32Z","closed_at":null,"body":"Hi there,\r\nMany thanks for the effort in easing packaging!\r\n\r\nI was trying to create a recipe for [NILM_Metadata](https://github.com/nilmtk/nilm_metadata). It has a single dependency (PyYaml). However, it needs to be installed using python setup.py develop, owing to some [package specific reasons](https://github.com/nilmtk/nilm_metadata/issues/6).\r\n\r\nI was wondering if the python setup.py develop is causing issues in creating recipe. Link to the [PR](https://github.com/conda-forge/staged-recipes/pull/2665). Is there a workaround?\r\n"},"comment":{"url":"https://api.github.com/repos/conda-forge/staged-recipes/issues/comments/291037642","html_url":"https://github.com/conda-forge/staged-recipes/issues/2667#issuecomment-291037642","issue_url":"https://api.github.com/repos/conda-forge/staged-recipes/issues/2667","id":291037642,"user":{"login":"jakirkham","id":3019665,"avatar_url":"https://avatars2.githubusercontent.com/u/3019665?v=3","gravatar_id":"","url":"https://api.github.com/users/jakirkham","html_url":"https://github.com/jakirkham","followers_url":"https://api.github.com/users/jakirkham/followers","following_url":"https://api.github.com/users/jakirkham/following{/other_user}","gists_url":"https://api.github.com/users/jakirkham/gists{/gist_id}","starred_url":"https://api.github.com/users/jakirkham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakirkham/subscriptions","organizations_url":"https://api.github.com/users/jakirkham/orgs","repos_url":"https://api.github.com/users/jakirkham/repos","events_url":"https://api.github.com/users/jakirkham/events{/privacy}","received_events_url":"https://api.github.com/users/jakirkham/received_events","type":"User","site_admin":false},"created_at":"2017-04-03T02:46:32Z","updated_at":"2017-04-03T02:46:32Z","body":"**TL;DR** Installing in develop mode is likely to be problematic. This should not be used for a `conda` recipe. The result will be a broken package.\r\n\r\n**Long answer:** The reason being that a development install means that an `*.egg-link` file, which points back to the source directory. As a result, the final package will not actually contain the source code, but only a reference to the location of the source code on the system it was built on. Given that `conda-build` create a temporary directory to contain the source code while building and then removes this directory immediately afterwards, this link will point to a non-existent location after the build completes. This is why the package will be broken.\r\n\r\n**Follow-up:** Could you please briefly explain why a develop install is needed? Unfortunately I lack the time to read the linked issues in detail, but my impression is there is some data that needs to be copied over with the package. If that is the case, I would recommend looking into `setuptools` options to do [this]( http://setuptools.readthedocs.io/en/latest/setuptools.html#including-data-files ) and propose something along these lines to the developers of the code base."}}
{"actor":{"display_login":"jakirkham"}}