csyhuang / hn2016_falwa

Python library for computing Finite-Amplitude Local Wave Activity Diagnostics from climate data.
https://hn2016-falwa.readthedocs.io/en/latest/
MIT License
32 stars 16 forks source link

Deploy the package on Anaconda channel #65

Closed csyhuang closed 11 months ago

csyhuang commented 1 year ago
  1. Deploy the package hn2016_falwa on conda such that users can install the package via conda install ....
  2. Document the procedures for deployment - given we are the only external contributors collaborating with MDTF team via anaconda channel, our experience is valuable for future external contributors.
  3. Test that everything (conda install, package import, etc) works as expected.

Note: it seems not necessary for this to be done after the f2py-to-cython translation. This can be done any time as long as the deployment procedures are well-documented and repeatable.

csyhuang commented 1 year ago

Potentially useful links: https://docs.conda.io/projects/conda-build/en/latest/user-guide/tutorials/building-conda-packages.html

A relevant issue: https://github.com/conda/conda-build/issues/3394

csyhuang commented 1 year ago

Issues encountered is mentioned in #77

csyhuang commented 1 year ago

Given #77 is closed, this ticket can be closed after testing the used components in MDTF project.

csyhuang commented 11 months ago

It happens that conda deployment failed for v0.7.2. Current solution would be to use pip to compile, with Fortran compiler, on the fly during MDTF installation. Let's try this solution in the first PR to MDTF - if that does not work, this ticket will be reopened.