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
Post a Comment