Skip to content
Snippets Groups Projects
Select Git revision
  • c79632cf9c37c7176825974e4b2d129c98e5f6c0
  • master default protected
  • 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
  • memo-rsa-rmi
  • memo-aah-modif
  • baby-memo
21 results

.conda

  • Clone with SSH
  • Clone with HTTPS
  • 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