-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish to PyPi and Conda #20
Comments
This is a great idea - thanks for pointing out some useful examples to follow! I can take a look and make some moves on it this weekend. |
I can work on this too! I have published a few things to conda already so I know how that works. I haven't published to PyPi but I think I could figure it out. |
I am going to start an official github release right now to at least have that available to me in PyARC |
I made a v0.12.2 release from the current develop branch. If we use official releases there is not really a big reason to use both master and develop here, but we can republish from master if that is preferred. It probably makes most sense to set develop as the default branch. |
Seeing as DASSH is open source and only requires a pip install, it would be possible to formally publish this to the PyPI package index which would allow users to install without needing to clone the repository. Once this is available on PyPI, it is a simple task to add as a conda package on conda-forge as well, therefore supporting multiple Python package managers. Once both are initially setup, any time a new release is made, the PyPI package will automatically publish and an automated PR will open on the conda-forge repo to release it there.
The steps to make this happen:
Adding to PyPI:
python-publish.yml
workflow filepyproject.toml
file) and publish it to the test PyPIAdding to Conda-forge:
An example of a package that has done exactly this is the OpenMC Plotter:
The text was updated successfully, but these errors were encountered: