aburrell / apexpy

A Python wrapper for Apex coordinates
MIT License
34 stars 25 forks source link

ENH: Distribution on conda-forge #122

Open smithara opened 1 year ago

smithara commented 1 year ago

Requested feature

I've been experimenting with building the conda packages to distribute on conda-forge, see https://github.com/conda-forge/staged-recipes/pull/22501. The linux build might already be working (I tested just the 3.10 one on my machine), and maybe macOS (64), but not yet Windows.

I uploaded the build artifacts at https://github.com/smithara/apexpy/releases/tag/v2.0.1-binaries (see the conda ones). There are also pip wheels too (more about that later). I'm not sure if they do in fact work across different systems since there were so many issues about that!

Test with, e.g.:

wget https://github.com/smithara/apexpy/releases/download/v2.0.1-binaries/conda_pkgs_linux.zip
unzip conda_pkgs_linux.zip
mamba create -n test_apexpy python=3.10 numpy
mamba install -n test_apexpy conda_pkgs_linux/apexpy-2.0.1-py310h4d92085_0.conda

Additional context