Closed HubLot closed 7 years ago
For version number update, bumpversion [1] should do the trick (thanks to Benoist Laurent).
Here, the PR for conda. I managed to build conda package for all versions of Python (2.7 to 3.5). The main job is to generate the package for the good version of python then generate packages for all plateforms. For Bumpversion, I'll try it and make a new PR.
@pierrepo did you manage to create anaconda packages and upload them to the website?
Not yet. I have to install anaconda first ;-)
Hi,
This a first step to create a conda package for pbxplore.
Meta.yaml
The main file is the
meta.yaml
one which describes how to build and test pbxplore for conda. So far, the version number is set manually and the build against the master on github. An improvement will be to generate the version number (to be synced with the pypi) and build the package against a tag ( with thegit_tag
instead ofgit_branch
).How to build?
conda build --python 2.7 -c bioconda -c mdanalysis pbxplore
(assuming you're in theconda_build
directory)conda convert --platform all /path/to/archive/pbxplore-1.3.1-py27_0.tar.bz2
(this will generate archive for linux 32/64b, windows 32/64b and osx 64b)How to upload?
anaconda login
command.anaconda upload /path/to/archive/pbxplore-1.3.1-py27_0.tar.bz2
I give it a try and upload a version with python 2.7 : https://anaconda.org/Hub_lot/pbxplore I will remove it once @pierrepo have done it to avoid confusion
So far, I managed to build conda package for python 2.7 only. I have a weird error when I try a different version of python (
--python 3.4
for example). Maybe one of you can try.TODO list