fancycode / pylzma

Python bindings for the LZMA library
http://www.joachim-bauch.de/projects/pylzma/
GNU Lesser General Public License v2.1
234 stars 72 forks source link

Getting version information from git describe #6

Closed volpino closed 12 years ago

volpino commented 12 years ago

I had an issue using Jenkis-CI with pylzma from PyPI Jenkins creates a virtualenv inside the workspace of the build (which is a git repo actually), so git describe returns a nonsense value. version.py claims that the version of pylzma is "jenkins-somestuff" instead of 0.4.4 and the pip install for the requirements fails

JasperVanDenBosch commented 12 years ago

The git plugin has advanced options under 'branch'. I changed mine to 'skip internal tag' to resolve this.

volpino commented 12 years ago

I probably don't know what you're talking about

JasperVanDenBosch commented 12 years ago

"jenkins-somestuff" is the tag that the jenkins git plugin gives your checkout. You can disable this behaviour by going to project > configure > branch > advanced and check 'skip internal tag'. From then it should use the 0.4.4 tag.

fancycode commented 12 years ago

Closing as ilogue's comment should fix this (from what I understand - don't use Jenkins).