pierrepo / PBxplore

A suite of tools to explore protein structures with Protein Blocks :snake:
https://pbxplore.readthedocs.org/en/latest/
MIT License
28 stars 17 forks source link

conda package #131

Closed HubLot closed 7 years ago

HubLot commented 8 years ago

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 the git_tag instead of git_branch).

How to build?

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

pierrepo commented 7 years ago

For version number update, bumpversion [1] should do the trick (thanks to Benoist Laurent).

[1] https://pypi.python.org/pypi/bumpversion

HubLot commented 7 years ago

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.

HubLot commented 7 years ago

@pierrepo did you manage to create anaconda packages and upload them to the website?

pierrepo commented 7 years ago

Not yet. I have to install anaconda first ;-)