Installing python __init__.py file from multiple KF5 frameworks

Stephen Kelly steveire at gmail.com
Thu May 19 08:42:37 BST 2016


Stephen Kelly wrote:

> Luca Beltrame wrote:
> 
>> In data mercoledì 18 maggio 2016 20:20:46 CEST, Stephen Kelly ha scritto:
>> 
>>> However, as the python 2 packages can not use that solution anyway,
>>> packages will have to be split anyway.
>> 
>> You can use the other solution linked in the stackoverflow thread, it
>> will work with Python 2 as well.
> 
> Oh, I see. I'm still not sure I get it. Currently I run cmake with
> 
>  -DCMAKE_INSTALL_PREFIX=prefix
> 
> and after install I have
> 
>  prefix/lib/python2.7/dist-packages/PyKF5/__init__.py
>  prefix/lib/python2.7/dist-packages/PyKF5/KWidgetsAddons.so
>  prefix/lib/python2.7/dist-packages/PyKF5/KItemModels.so
>  prefix/lib/python3.5/dist-packages/PyKF5/__init__.py
>  prefix/lib/python3.5/dist-packages/PyKF5/KWidgetsAddons.so
>  prefix/lib/python3.5/dist-packages/PyKF5/KItemModels.so
> 
> Can you tell me what I should have instead after install (on a debian
> system, so I know where dist-packages fits)?

Oh, and also help me figure out what the PYTHONPATH should be set to after 
moving things around.

Thanks,

Steve.



More information about the Distributions mailing list