[PyQt] Packaging with sip5
Phil Thompson
phil at riverbankcomputing.com
Fri Dec 13 11:22:50 GMT 2019
On 13/12/2019 11:08, Antonio Rojas wrote:
> El viernes, 13 de diciembre de 2019 11:48:38 (CET) Phil Thompson
> escribió:
>> On 13/12/2019 06:51, Antonio Rojas wrote:
>> > El jueves, 12 de diciembre de 2019 23:38:41 (CET) Phil Thompson
>> > escribió:
>> >> On 12/12/2019 22:29, Antonio Rojas wrote:
>> >> > Hi,
>> >> > What are the equivalents of 'make' and 'make install DESTDIR=foo'
>> >> > with sip5? For packaging it is important to have distinct build and
>> >> > install steps, and the final target install dir may not be available
>> >> > during the build step. Building pyqt with 'sip-build' still tries to
>> >> > write to the target dir - which fails if it is not writtable.
>> >>
>> >> If you run 'sip-build -h' you will see there is a '--no-make' option.
>> >>
>> >> Phil
>>
>> What did you do with SIP v4? The generated Makefile should be very
>> similar.
>
> With SIP4 I did:
> ./configure.py
> make
> make install DESTDIR=foo
> The first two commands don't do anything outside the build tree, only
> the last one cares about the target install dir.
>
> The same commands work with sip5, but IIUC configure.py is deprecated
> and one should use sip-build now. What I'm looking for is a way to
> build pyqt inside the build tree (similar to the old configure.py +
> make) that doesn't try to write to the target dir.
As I said, the Makefile should be very similar so invoke make in the
same way.
Phil
More information about the PyQt
mailing list