{"action":"created","issue":{"url":"https://api.github.com/repos/conda/conda-build/issues/353","labels_url":"https://api.github.com/repos/conda/conda-build/issues/353/labels{/name}","comments_url":"https://api.github.com/repos/conda/conda-build/issues/353/comments","events_url":"https://api.github.com/repos/conda/conda-build/issues/353/events","html_url":"https://github.com/conda/conda-build/issues/353","id":65726791,"number":353,"title":"provide ENVs at build time to point to $PREFIX/etc/conda/[de]activate.d folders","user":{"login":"tacaswell","id":199813,"avatar_url":"https://avatars.githubusercontent.com/u/199813?v=3","gravatar_id":"","url":"https://api.github.com/users/tacaswell","html_url":"https://github.com/tacaswell","followers_url":"https://api.github.com/users/tacaswell/followers","following_url":"https://api.github.com/users/tacaswell/following{/other_user}","gists_url":"https://api.github.com/users/tacaswell/gists{/gist_id}","starred_url":"https://api.github.com/users/tacaswell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tacaswell/subscriptions","organizations_url":"https://api.github.com/users/tacaswell/orgs","repos_url":"https://api.github.com/users/tacaswell/repos","events_url":"https://api.github.com/users/tacaswell/events{/privacy}","received_events_url":"https://api.github.com/users/tacaswell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-01T16:37:34Z","updated_at":"2015-04-01T19:09:05Z","closed_at":null,"body":"It would be great if conda build provided the ENV variables `$CONDA_ACTIVATE` and `$CONDA_DEACTIVATE` with the paths to the `etc/conda/activate.d` and and `etc/conda/decativate.d` and ensure that those directories exist.  Basically to prevent having to put\r\n\r\n```\r\n# deal with env export\r\nmkdir -p $PREFIX/etc/conda/activate.d\r\nmkdir -p $PREFIX/etc/conda/deactivate.d\r\n\r\nACTIVATE=$PREFIX/etc/conda/activate.d/epics_base.sh\r\nDEACTIVATE=$PREFIX/etc/conda/deactivate.d/epics_base.sh\r\nETC=$PREFIX/etc\r\n```\r\n\r\nin every `build.sh`"},"comment":{"url":"https://api.github.com/repos/conda/conda-build/issues/comments/88597512","html_url":"https://github.com/conda/conda-build/issues/353#issuecomment-88597512","issue_url":"https://api.github.com/repos/conda/conda-build/issues/353","id":88597512,"user":{"login":"dan-blanchard","id":976345,"avatar_url":"https://avatars.githubusercontent.com/u/976345?v=3","gravatar_id":"","url":"https://api.github.com/users/dan-blanchard","html_url":"https://github.com/dan-blanchard","followers_url":"https://api.github.com/users/dan-blanchard/followers","following_url":"https://api.github.com/users/dan-blanchard/following{/other_user}","gists_url":"https://api.github.com/users/dan-blanchard/gists{/gist_id}","starred_url":"https://api.github.com/users/dan-blanchard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dan-blanchard/subscriptions","organizations_url":"https://api.github.com/users/dan-blanchard/orgs","repos_url":"https://api.github.com/users/dan-blanchard/repos","events_url":"https://api.github.com/users/dan-blanchard/events{/privacy}","received_events_url":"https://api.github.com/users/dan-blanchard/received_events","type":"User","site_admin":false},"created_at":"2015-04-01T19:09:05Z","updated_at":"2015-04-01T19:09:05Z","body":"Sorry to hijack the conversation, but I've never once needed to add something like this to a build.sh.  Have I been doing something wrong?"}}