python - Is there a way to have platform-specific dependencies in environment.yml? -


i'm trying use conda set build & testing environments project (lenskit), , need have platform-specific dependencies. specifically, on linux builds need libgfortran , openssl, not on windows.

is there way can state, in environment.yml, need libgfortran on 32- , 64-bit linux platforms? or need have separate environment definitions cover case?

the other potential solution see creating dummy package , publishing http://anaconda.org depends on required base packages each platform, , require package in environment.yml.

the "dummy packages" called "metapackages". see http://conda.pydata.org/docs/building/meta-pkg.html. seems option.

alternatively, build conda package of project? in conda recipe's meta.yml can use selectors different platforms. http://conda.pydata.org/docs/building/meta-yaml.html#preprocessing-selectors


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -