[libvirt] [PATCH python] Add python3 to the automated build and RPM

Eric Blake eblake at redhat.com
Thu Dec 12 19:29:34 UTC 2013


On 12/12/2013 04:19 AM, Daniel P. Berrange wrote:

>>> +++ b/autobuild.sh
>>> @@ -13,6 +13,12 @@ python setup.py build
>>>  python setup.py test
>>>  python setup.py install --root="$AUTOBUILD_INSTALL_ROOT"
>>>
>>
>> I haven't tested it, but shouldn't these lines ^^, and others similar
>> to them, be changed to "python2" in case my default python version is
>> 3?  And if those "python2" are checked as well, it would be usable
>> even without python2.
> 
> Yes, we should use python2

But does 'python2' exist in PATH on RHEL5?  You have to be careful that
whatever solution you have works on systems with only one python
installed (whether that be old systems with python 2, or bleeding edge
systems with _only_ python 3).

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20131212/05a0c550/attachment-0001.sig>


More information about the libvir-list mailing list