{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaPy/Conda.jl/issues/50","repository_url":"https://api.github.com/repos/JuliaPy/Conda.jl","labels_url":"https://api.github.com/repos/JuliaPy/Conda.jl/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/JuliaPy/Conda.jl/issues/50/comments","events_url":"https://api.github.com/repos/JuliaPy/Conda.jl/issues/50/events","html_url":"https://github.com/JuliaPy/Conda.jl/issues/50","id":175958890,"node_id":"MDU6SXNzdWUxNzU5NTg4OTA=","number":50,"title":"A Documented/Preferred way of installing PyPi dependencies","user":{"login":"oxinabox","id":5127634,"node_id":"MDQ6VXNlcjUxMjc2MzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/5127634?v=4","gravatar_id":"","url":"https://api.github.com/users/oxinabox","html_url":"https://github.com/oxinabox","followers_url":"https://api.github.com/users/oxinabox/followers","following_url":"https://api.github.com/users/oxinabox/following{/other_user}","gists_url":"https://api.github.com/users/oxinabox/gists{/gist_id}","starred_url":"https://api.github.com/users/oxinabox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oxinabox/subscriptions","organizations_url":"https://api.github.com/users/oxinabox/orgs","repos_url":"https://api.github.com/users/oxinabox/repos","events_url":"https://api.github.com/users/oxinabox/events{/privacy}","received_events_url":"https://api.github.com/users/oxinabox/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-09-09T08:49:34Z","updated_at":"2018-12-04T00:51:49Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"So Conda (unlike anaconda) can not install dependencies using PyPi, as a source.\n(AFAICT, after an afternoon of looking).\n\nI believe the docs currently suggest creating a Conda package and uploading it to binstar.org.\n\nWhich is actually rather annoying to do, since now you are maintaining a distribution channel for your dependencies -- you don't get updated when the providers do them,  you have to make sure it works on all platforms etc.\nIt is unfun.\n\nSo currently my work around for installing things, is to automate how I would do it manually.\nWhich is: tell Conda to install pip, then have pip install other things. (\nInspired by https://github.com/JuliaPy/Conda.jl/issues/30#issuecomment-183307329)\n\nhttps://github.com/oxinabox/SwiftObjectStores.jl/blob/fee6a7bdd6d4b9a1a6865b95f4629d919a28947b/deps/build.jl\n\nIs this the best way? If so, it should be documented.\nIf not, a better way should be documented.\n\nThere are a lot of python libraries in PyPi, that are not in any Conda channel, that I trust to keep them up-to-date, and with it all working for all OS's.\n\nAs far as I can tell, `PyCall.py_import_conda`, does not help here, since it only downloads things from Conda channels.\n"},"comment":{"url":"https://api.github.com/repos/JuliaPy/Conda.jl/issues/comments/443927831","html_url":"https://github.com/JuliaPy/Conda.jl/issues/50#issuecomment-443927831","issue_url":"https://api.github.com/repos/JuliaPy/Conda.jl/issues/50","id":443927831,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzkyNzgzMQ==","user":{"login":"arnavs","id":5009477,"node_id":"MDQ6VXNlcjUwMDk0Nzc=","avatar_url":"https://avatars1.githubusercontent.com/u/5009477?v=4","gravatar_id":"","url":"https://api.github.com/users/arnavs","html_url":"https://github.com/arnavs","followers_url":"https://api.github.com/users/arnavs/followers","following_url":"https://api.github.com/users/arnavs/following{/other_user}","gists_url":"https://api.github.com/users/arnavs/gists{/gist_id}","starred_url":"https://api.github.com/users/arnavs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arnavs/subscriptions","organizations_url":"https://api.github.com/users/arnavs/orgs","repos_url":"https://api.github.com/users/arnavs/repos","events_url":"https://api.github.com/users/arnavs/events{/privacy}","received_events_url":"https://api.github.com/users/arnavs/received_events","type":"User","site_admin":false},"created_at":"2018-12-04T00:51:49Z","updated_at":"2018-12-04T00:51:49Z","author_association":"NONE","body":"I think that's a good idea. Alternately you could just wrap a short script to do what we did after installing `Conda.jl` and `Conda.add(\"pip\")` \r\n\r\n```\r\nfrom pip._internal import main \r\nmain(['install', '--pre', 'dfogn'])\r\n```"}}
{"actor":{"display_login":"arnavs"}}