Skip to content
Snippets Groups Projects
Select Git revision
  • 4f3c64e24d22d1d6473f12d780af22c6aedae126
  • master default protected
  • reforme-allegement-general
  • abattement-retraite
  • temp
  • cdhr_reform
  • revert-inflateur-contrefactuel-impot
  • lint
  • test-cas-type
  • indemnite-inflation
  • 0_5_8
  • 0_5_7
  • 0_5_6
  • 0_5_5
  • 0_5_4
  • 0_5_3
  • 0_5_2
  • 0_5_1
  • 1.0.304
  • 1.0.303
  • 1.0.302
  • 1.0.301
  • 1.0.300
  • 1.0.299
  • 1.0.298
  • 1.0.297
  • 1.0.296
  • 1.0.295
  • 1.0.294
  • 1.0.293
  • 1.0.292
  • 1.0.291
  • 1.0.290
  • 1.0.289
  • 1.0.288
  • 1.0.287
  • 1.0.286
  • 1.0.285
38 results

.conda

user avatar
benoit-cty authored
a6cd4d11
History
Name Last commit Last update
..
README.md
meta.yaml

Publish to conda

There is two way of publishing to conda:

  • A fully automatic in CI that publish to an "openfisca" channel. See below for more information.
  • A more complex for Conda-Forge.

We use both for openfisca-core but only leximpact channel for this project.

Automatic upload

The CI could automaticaly upload the PyPi and Anaconda package, see the .gitlab-ci.yml.

Manual actions made to make it works the first time

Manual actions before CI exist

To create the package you can do the following in the project root folder:

docker run -i -t -v $PWD:/src continuumio/miniconda3 /bin/bash
cd /src
python3 gitlab-ci/src/get_pypi_info.py -p openfisca-france-reforms
conda install -y conda-build anaconda-client
conda config --set anaconda_upload yes
conda build -c conda-forge --token $ANACONDA_TOKEN --user Leximpact .conda