Skip to content
Snippets Groups Projects
Select Git revision
  • 68dd12335219c09c538d9694436d4555325f6615
  • master default protected
  • documentations-html-fd10cfaeb1ac3b2fcd47b527a8ece2958c0a2dbe
  • documentations-html-fbb6ca14cc3bec2a3e98ba0cbb3fd98600828f8c
  • documentation-non-recours
  • pote_2023
  • ajout-variable-taux-allegement-general
  • tester-variable-taux-allegement-cotisations
  • ppa-rsa
  • documentations-html-acad4c9f95a39e798170e3e9ab147b24b9f7e613
  • 184-ajouter-une-variable-sur-le-non-recours
  • aides-logement
  • statistiques_impot
  • documentations-html-ab2ff75179b3a97939d5c802e370f32c1978b99b
  • statistiques_impot_corrections_chloe
  • documentations-html-e96b6fd1b3963bc54903d8de1e23ea3f7dbb2e00
  • cdhr_reform
  • memo_pfu
  • 177-integration-erfs-2021-pipeline
  • 175-ajout-code-casd
  • memo-navbar-color
21 results

.conda

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

Publish LexImpact-prepare-data to conda

We use two systems to publish to conda:

We use both as with conda-forge our users get an easiest way to install and use openfisca-core : conda-forge is the default channels in Anaconda and it allow publishing packages that depend on openfisca-core to conda-forge.

Automatic upload

The CI automaticaly upload the PyPi package, see the .github/workflow.yml, step publish-to-conda.

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:

  • Edit .conda/meta.yaml and update it if needed:

    • Version number
    • Hash SHA256
    • Package URL on PyPi
  • Build & Upload package:

    • If you want to use docker : docker run -ti --rm=true -v $PWD:/data --workdir /data continuumio/anaconda3
    • If you want to use podman : podman run -ti --rm=true -v $PWD:/data --workdir /data docker.io/continuumio/anaconda3
    • conda install -c anaconda conda-build anaconda-client
    • conda build -c conda-forge -c leximpact .conda
    • anaconda login
    • anaconda upload prepare-data-<VERSION>-py_0.tar.bz2