BCDA-APS / gemviz

Data visualization for tiled
https://bcda-aps.github.io/gemviz/
Other
4 stars 0 forks source link

register package with conda forge #102

Closed prjemian closed 7 months ago

prjemian commented 1 year ago

register package with conda forge for installation by conda install gemviz -c conda-forge

prjemian commented 1 year ago

Relies on #101

prjemian commented 7 months ago

Today, tagged 0.1.0 and posted on PyPI.

To prepare for conda-forge, must first create a recipe (meta.yaml file used by conda-forge). grayskull is the application that makes it easier for Python packages. Will need to add a yum_requirements.txt file because this is a PyQt application.

mkdir -p /tmp/grayskull
cd /tmp/grayskull
echo mesa-libGL > yum_requirements.txt
conda install -c conda-forge grayskull
grayskull pypi gemviz
cd gemviz

This file should be ready to use as-is. I'm adding pyqt =5 to the requirements.host section. Should add this to the project's pyproject.toml file as well. If required by conda-forge, that will mean a new tag (0.1.1). For conda-forge, they want tags without modifiers such as .rc, .dev, and .a.

prjemian commented 7 months ago

Next step is to fork the https://github.com.conda-forge/staged-recipes repository. Forking to BCDA-APS organization.

prjemian commented 7 months ago

image

prjemian commented 7 months ago

Clone https://github.com/BCDA-APS/staged-recipes locally and follow the instructions for contributing a new conda-forge recipe.

prjemian commented 7 months ago
prjemian commented 7 months ago