BUT this easy way publish the package in a specific "channel" of Anaconda, to be on conda-forge, we need to use another procedure:
For publishing to Conda-Forge, we have to fork a project and made a PR back to it. There is automated build in Linux, OSX and Windows: https://github.com/conda-forge/staged-recipes/pull/17399
"Propose the change as a pull request. Your recipe will automatically be built on Windows, Linux, and OSX to test that it works, but the distribution will not yet be available on the conda-forge channel."
"Once the recipe is ready it will be merged and a new "feedstock" repository will automatically be created for the recipe. The build and upload processes take place in the feedstock, and once complete the package will be available on the conda-forge channel."
Coverage remained the same at 78.885% when pulling 74637a554448be69f12f602dd792cc1d6391ad1e on conda_publish into 9deaa600cbd037a1124ee3857091ef57777170dd on master.
I achieve to upload OpenFisca-Core on Anaconda : https://anaconda.org/leximpact/openfisca-core
New features
Technical changes
What I've done so far
conda/meta.yaml
in the projectdocker run --rm -t -i -v $PWD:/src continuumio/miniconda3 /bin/bash
cd /src
conda install conda-build
conda build -c conda-forge --output-folder ./conda-out/ ./conda/
conda install anaconda-client
anaconda login
anaconda upload ./conda-out/noarch/openfisca-core-0.0.1-py_0.tar.bz2
Please note that
Tutorials used:
BUT this easy way publish the package in a specific "channel" of Anaconda, to be on conda-forge, we need to use another procedure: For publishing to Conda-Forge, we have to fork a project and made a PR back to it. There is automated build in Linux, OSX and Windows: https://github.com/conda-forge/staged-recipes/pull/17399
A chat is available for conda-forge integration at https://gitter.im/conda-forge/conda-forge.github.io
TODO