Skip to content

ENH: Distribution on conda-forge #122

@smithara

Description

@smithara

Requested feature

I've been experimenting with building the conda packages to distribute on conda-forge, see conda-forge/staged-recipes#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

  • Also been trying to build wheels using cibuildwheel but so far only the linux and osx-64 builds worked (uploaded here), and again I haven't tested them widely. I did find it useful to use one of those pre-built wheels within a readthedocs build where it seems impossible to add a fortran compiler (and I want to execute apexpy there).
    i.e., in an environment with Python=3.10, on linux:
    pip install https://github.com/smithara/apexpy/releases/download/v2.0.0-binaries/apexpy-2.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions