Skip to content

brsynth/pysbol2-conda-recipe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

conda recipe for SBOL2

Instructions for building conda recipe for pySBOL2.

Prerequisite

The conda package manager should have been installed. For fresh instructions, see the conda user guide.

Building the sbol2 conda package -- the step by step way

  1. Set up conda environment for building the package
# From the recipe sub folder
conda env create --file recipe/conda_build_env.yaml -n conda_build_env
  1. Build
# Few variables for convenience
CONDA_BLD_PATH=/tmp/conda-bld
PLATFORM=$(conda info | grep platform | sed 's/.*platform : //')
PACKAGE=sbol2

# From the recipe sub folder
conda activate conda_build_env
conda build recipe --output-folder ${CONDA_BLD_PATH}
  1. Convert for other platform
conda convert \
    --platform osx-64 \
    --platform linux-64 \
    --platform win-64 \
    --output-dir ${CONDA_BLD_PATH} \
	${CONDA_BLD_PATH}/${PLATFORM}/${PACKAGE}-*.tar.bz2
  1. Publish
source .secrets
anaconda \
    --token ${ANACONDA_TOKEN} \
    upload \
    --user ${ANACONDA_USER} \
    --label main \
    ${CONDA_BLD_PATH}/*/${PACKAGE}-*.tar.bz2

What to do on next package release?

When ever a new version is released on pypi, here how to proceed:

  • Update {% set version = "1.2" %} to the correct number in recipe/meta.yaml.
  • Repeat steps 1-3 from above.

Miscellaneous

Content generated with the help of Grayskull.

About

Instructions for building conda recipe for pySBOL2.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published