Mailing List Archive

Python bindings prefix
Hi,


I compile MythTV 29 fixes from source on Fedora 27, and even with
changing the installation prefix (--prefix=/usr/local) I'm finding that
the python bindings are ending up in
/usr/lib/python2.7/site-packages/MythTV.  What am I doing wrong?


Thanks,

Nige.

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Python bindings prefix [ In reply to ]
On 02/11/2018 03:24 PM, Nigel Jewell wrote:
> I compile MythTV 29 fixes from source on Fedora 27, and even with
> changing the installation prefix (--prefix=/usr/local) I'm finding
> that the python bindings are ending up in
> /usr/lib/python2.7/site-packages/MythTV. What am I doing wrong?

https://lists.gt.net/mythtv/commits/550365

Basically, your system's installation of Python is configured to look
for Python packages under /usr , so MythTV's Python package is installed
where Python will find it so you don't have to specify a PYTHONPATH
every time you want to execute some Python program using the MythTV
stuff. If you want it to install in /usr/local you'll need to
reconfigure your system Python installation to look there.

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Python bindings prefix [ In reply to ]
On 12/02/2018 12:29, Michael T. Dean wrote:
> On 02/11/2018 03:24 PM, Nigel Jewell wrote:
>> I compile MythTV 29 fixes from source on Fedora 27, and even with
>> changing the installation prefix (--prefix=/usr/local) I'm finding
>> that the python bindings are ending up in
>> /usr/lib/python2.7/site-packages/MythTV.  What am I doing wrong?
>
> https://lists.gt.net/mythtv/commits/550365
>
> Basically, your system's installation of Python is configured to look
> for Python packages under /usr , so MythTV's Python package is
> installed where Python will find it so you don't have to specify a
> PYTHONPATH every time you want to execute some Python program using
> the MythTV stuff.  If you want it to install in /usr/local you'll need
> to reconfigure your system Python installation to look there.

Great, makes sense.  Thanks.
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org