Do you recommend any good resources or code examples on how to upload a package to conda-forge? #conda #bioinformatics
=> More informations about this toot | More toots from victorjavierlo@genomic.social
@victorjavierlo no, but I’ve done a few. I would start by looking at packages in the same language with similar dependencies/build systems.
=> More informations about this toot | More toots from pjacock@fediscience.org
@pjacock It is a Python package.
=> More informations about this toot | More toots from victorjavierlo@genomic.social
@victorjavierlo pure Python, nothing you need to compile? That should be easy 🤞
Next question, general (conda-forge) or bioinformatics/biology specific (bioconda)? Example of latter is https://github.com/bioconda/bioconda-recipes/tree/master/recipes/thapbi-pict with just a metadata file.
The details of how to submit and maintain the recipe differ, but the metadata yaml is practical the same.
=> More informations about this toot | More toots from pjacock@fediscience.org
@victorjavierlo Now, are all your dependencies in conda? BioConda packages can depend on either BioConda or conda-forge, but conda-forge ones should only depend only on others from conda-forge
=> More informations about this toot | More toots from pjacock@fediscience.org
@pjacock I was thinking in conda-forge.
=> More informations about this toot | More toots from victorjavierlo@genomic.social
@pjacock This is the package https://github.com/victorsanchezarevalo/pymportx/
=> More informations about this toot | More toots from victorjavierlo@genomic.social
@victorjavierlo That looks like an excellent fit to BioConda to me, but a stretch from conda-forge.
Either way, it looks the the first hurdle is there is no Python package defined for people to install. Nowadays that means a pyproject.toml file, until recent done with a setup.py
Next you’d typically be releasing the code on PyPI so that “pip install pymportx” works. You don’t have to release on PyPI, but it would be best practice.
=> More informations about this toot | More toots from pjacock@fediscience.org This content has been proxied by September (3851b).Proxy Information
text/gemini