my dev in conda: https://anaconda.org/longw010/longwdev
After the code is frozen, we can start with setting up a conda package and register it. Assume you already registered an account at anaconda,
The minimal conda package requires:
the package name and version number
set up a meta.yml or (build.sh&bld.bat)
use conda build to package it
conda build
login to anaconda and upload it to the repo
The options to extend includes:
make the package work in all systems (osx-64 linux-32 linux-64 win-32 win-64)or multiple python version
(osx-64 linux-32 linux-64 win-32 win-64)
Steps for multiple platforms support:
use conda convert tar.bz2 -p linux-64 -o output
conda convert tar.bz2 -p linux-64 -o output
enter the output and upload the zipped file into the anaconda cloud
check updates at https://anaconda.org/longw010/longwdev/filesarrow-up-right
Issues I met:
If I am under the src, use conda build . directly.
conda build .
conda build import test fails, but import works if test import is ignored in meta.yaml (https://github.com/conda/conda-build/issues/3074arrow-up-right)
References:
conda-build:
Last updated 5 years ago