[MacPorts] #36783: mythtv-core.25 00.25.2-Fixes-20120918 Python paths wrong for site-packages/MythTV

MacPorts noreply at macports.org
Wed Nov 14 18:14:36 PST 2012


#36783: mythtv-core.25 00.25.2-Fixes-20120918 Python paths wrong for site-
packages/MythTV
-----------------------------+--------------------------
  Reporter:  ted.rippert@…   |      Owner:  ctreleaven@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.1.2
Resolution:                  |   Keywords:
      Port:  mythtv-core.25  |
-----------------------------+--------------------------

Comment (by ted.rippert@…):

 Replying to [comment:11 ctreleaven@…]:
 > Replying to [comment:10 nad@…]:
 > > ... standard Python installation components, like Distutils, things
 should be automatically installed in the right place.
 >
 > Perhaps you can assist.  AFAICT, Myth is using disutils (see
 https://github.com/MythTV/mythtv/blob/fixes/0.25/mythtv/bindings/python/setup.py
 ).

 Looking at the file you reference, the first line is:

 {{{
 #!/usr/bin/env python
 }}}

 When I invoke it this way in a terminal window, I get the Apple installed
 python from /usr/bin/
 Actually I have separate python installs for 2.5, 2.6 and 2.7 in /usr/bin,
 /opt/local/bin and /sw/bin.

 Perhaps the interpreter for the script should be:

 {{{
 #!/opt/local/bin/python2.x
 }}}

 where I assume you would use x=6, since all the MythTV scripts I found
 were under 2.6 rather than 2.7.

-- 
Ticket URL: <https://trac.macports.org/ticket/36783#comment:12>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list