[MERGE] setup.py script explicitly checks for Python version. (#200569)
bialix at ukr.net
Tue Mar 11 08:53:45 GMT 2008
Martin Pool пишет:
>> I don't think so. Paranoid in me said in this case we should use try-except.
>> Why for? sys.hexversion do the same thing and code less.
> You do know you can compare it as a tuple?
> if sys.version_info < (2, 4):
I know. But I don't want to use try-except construct in setup.py.
So here is patch with version_info but without try-except.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the bazaar