Fix setup.py on python_version 2.x.x+ #80

Merged
merged 1 commit into from Nov 27, 2012

2 participants

@hellais

platform.python_version() may return also a version that is of the form 2.x.x+, when such argument gets passed to StrictVersion it will throw this exception:

  ValueError: invalid version number '2.x.x+'

This bug occurs on ubuntu oneiric (11.10 LTS) that has a python version of 2.7.2+.

@gleicon gleicon merged commit 9971dfd into fiorix:master Nov 27, 2012
@gleicon
Collaborator

Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment