MillionConcepts / lhorizon

lhorizon helps you find things in the Solar System.
BSD 3-Clause "New" or "Revised" License
5 stars 2 forks source link

Publish to PyPI and/or conda-forge? #17

Closed malmans2 closed 3 years ago

malmans2 commented 3 years ago

You could publish the package on PyPI and conda-forge. It's quite easy to set up a GH workflow that will publish every time a new tag is created.

The basic workflow is described here, but there are many tutorials online.

https://github.com/openjournals/joss-reviews/issues/3495

m-stclair commented 3 years ago

I have added actions for publishing to TestPyPi and PyPi, and lhorizon is now available on PyPi.

I have also created a conda-forge recipe for lhorizon and submitted a PR to staged-recipes. Leaving this issue open pending resolution of that PR.

malmans2 commented 3 years ago

Nice! I think it's now better to suggest pip/conda install lhorizon in the installation section.

I would probably do something consistent for binder as well. E.g., replace https://github.com/MillionConcepts/lhorizon/blob/a25f71435ea8b9b5de5942c735163789cd7eaadb/.binder/postBuild#L3 with conda install -c conda-forge pip # or just add pip to environment.yml pip install -e .

m-stclair commented 3 years ago

I’ve made install docs consistent and updated binder, and the package is up on c-f! https://anaconda.org/conda-forge/lhorizon