panoptes-python-client icon indicating copy to clipboard operation
panoptes-python-client copied to clipboard

Build and release Conda package

Open adammcmaster opened this issue 5 years ago • 4 comments

We've had a request to release this as a Conda package. Lots of researchers use Conda so it would make sense.

There's a build script on Medium which might be a good starting point.

One initial problem is that redo isn't available on Conda either. If we pull that into this repo as a submodule we should be able to just include it in our package, and let dependabot keep the submodule up to date.

adammcmaster avatar Mar 26 '20 11:03 adammcmaster

This would be really helpful if the package was available in conda.

mschwamb avatar Aug 16 '21 15:08 mschwamb

I would like to bump this issue; and to add that redo seems to be available on conda-forge now.

lucasgautheron avatar Sep 29 '21 13:09 lucasgautheron

Have started this here:

https://github.com/conda-forge/staged-recipes/pull/20584

Happy to add any others as co-maintainers, just message on that issue!

bollwyvl avatar Sep 28 '22 23:09 bollwyvl

https://github.com/conda-forge/panoptes-client-feedstock is now up, and builds should be installable on Linux and MacOS within the hour. Any feedback (or co-maintainership requests!) are welcome.

conda install -c conda-forge panoptes-client

Note that while it's noarch, it still can't be installed on Windows due to the libmagic hangover (#215, #264). I've set up this issue to track it more directly on the feedstock.

A bit of compiler drama: the underlying issue comes down to someone with a (preferably) real windows box needing to spend some quality time with cmake to do a real libmagic build against MSVC, unless the underlying dependency can be made weaker and use some shell-level thing, in which case we could it could use a mingw build (m2-file).

bollwyvl avatar Sep 29 '22 15:09 bollwyvl