-
Notifications
You must be signed in to change notification settings - Fork 9
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
Packaging and PyPI distribution? #51
Comments
Honestly it's something I've been meaning to do but just haven't gotten around to. I'm not too familiar with the distribution side of packaging, so I'm not entirely sure what all it would require. |
Cool. 👍
If you want to talk sometime I'd be very happy to help/give some advice on this. The short list of recommendations is:
I'm happy to discuss this here, over email, or on a call. |
Sorry, I've been busy the past couple of days at this workshop but let me try getting into it over the weekend and see how it goes.
Depending on how it goes, if I run into any issues or have any questions about anything I'll definitely make sure to take you up on this, thanks! |
Nothing to apologize about. :)
Cool. I'm happy to look over any PRs as well. 👍 |
Bit delayed, but it's available on PyPI at I still plan to setup CI / automated tests + releases so I'll keep this open for the time being as a (mostly as a reminder for myself) Also I just wanted to say thanks for raising this in the first place! Ultimately this led me to rewrite / restructure the base of the code to address the (many) issues that I had been stringing along with hacks and duct tape to that point, and I think the code is better as a result (plus I learned a lot!) |
Progress towards: - #51 (comment) Former-commit-id: efb1f13
@matthewfeickert gonna close this now honestly, this Issue is what initially pushed me to really learn / understand:
which I now swear by and rant about to anyone willing to listen so, I just wanted to say thank you again for this!! 😂 Footnotes
|
Nice! Yeah, you had a pretty gnarly stack to wrangle for the Lines 24 to 49 in 0623676
so I have some empathy for what that's like to deal with. I would normally volunteer to help get this on conda-forge as well, but it seems that for the $ grayskull pypi l2hmc
#### Initializing recipe for l2hmc (pypi) ####
Recovering metadata from pypi...
Starting the download of the sdist package l2hmc
l2hmc 100% Time: 0:00:01 11.0 MiB/s|####################################################################################################################################################################|
Checking for pyproject.toml
pyproject.toml found in /tmp/grayskull-l2hmc-xf0918d3/l2hmc-0.13.0/pyproject.toml
Recovering information from setup.py
Executing injected distutils...
Checking >> xarray 100% |##########################################################################################################################################################|[Elapsed Time: 0:00:12]
Recovering license info from spdx.org ...
License type: Apache-2.0
License file: ['LICENSE']
Build requirements:
<none>
Host requirements:
- python >=3.8
- hatchling
- pip
Run requirements:
- python >=3.8
- bokeh
- mpi4py
- nodejs
- h5py
- seaborn
- xarray
- joblib
- celerite
- pynvim
- neovim
- pyright
- ipython
- rich
- hydra-core
- wandb
- arviz
- hydra-colorlog
- matplotx
- accelerate
- tqdm
- ptipython # this is red in the terminal printout
- tensorflow
- pytorch
- horovod
RED: Package names not available on conda-forge
YELLOW: PEP-725 PURLs that did not map to known package
GREEN: Packages available on conda-forge
Maintainers:
- matthewfeickert
#### Recipe generated on /home/feickert/Code/GitHub/forks/staged-recipes/recipes for l2hmc #### and as there's some unpublished current dependencies / forks of dependencies at the moment Lines 25 to 45 in 1b951ef
that currently breaks PyPI and conda-forge publishing. But I'm glad that you're feeling like you're on the other side of the publishing workflow, and I'm also glad to see that you put in the hard work to actually get things working properly too! Nice work! 🙌 |
As you've made a library and are using it as such:
do you have any plans and/or interest in packaging it as a Python library so it can either be
pip
installed from GitHub or be distributed on PyPI?The text was updated successfully, but these errors were encountered: