- Use conda skeleton to copy a pypi package
conda skeleton pypi pyinstrument
conda-build pyinstrument
- Can install locally using if you copy the
tar
ball to the~/anaconda3/conda-bld
conda install --use-local pyinstrument
- Build for Python 2.7, 3.4, 3.5 at a minimum
conda-build --python 2.7 pyinstrument
- Convert for all platforms
conda convert --platform all /home/shankar/anaconda3/conda-bld/pyinstrument-version-py27.tar.bz2 -o outputdir/
Make sure you build and convert for all Python versions 5. Upload to Anaconda
conda install anaconda-client
anaconda login
anaconda upload path-to-build
Or set to be automatic
conda config --set anaconda_upload yes
anaconda logout
https://conda.io/docs/user-guide/tutorials/build-pkgs-skeleton.html