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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]