[MacPorts] #47601: libftdi1 @1.2_1: Python package misplaced
#47601: libftdi1 @1.2_1: Python package misplaced ----------------------------+-------------------------------- Reporter: ivo.clarysse@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Low | Milestone: Component: ports | Version: 2.3.3 Keywords: python | Port: libftdi ----------------------------+-------------------------------- The libftdi1 subport of the libftdi port installs Python site package files in {{{ /opt/local/lib/python2.7/site-packages }}} instead of {{{ /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages }}} As a result, the installed examples fail to import the ftdi1.py module installed in the /opt/local/lib/python2.7/site-packages directory: {{{ $ /opt/local/bin/python2.7 /opt/local/share/libftdi/examples/complete.py Traceback (most recent call last): File "/opt/local/share/libftdi/examples/complete.py", line 13, in <module> import ftdi1 as ftdi ImportError: No module named ftdi1 }}} -- Ticket URL: <https://trac.macports.org/ticket/47601> MacPorts <https://www.macports.org/> Ports system for OS X
#47601: libftdi1 @1.2_1: Python package misplaced -----------------------------+---------------------- Reporter: ivo.clarysse@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: python Port: libftdi | -----------------------------+---------------------- Changes (by snc@…): * priority: Low => Normal * status: new => assigned * owner: macports-tickets@… => snc@… * cc: snc@… (removed) -- Ticket URL: <https://trac.macports.org/ticket/47601#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#47601: libftdi1 @1.2_1: Python package misplaced -----------------------------+---------------------- Reporter: ivo.clarysse@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: python Port: libftdi | -----------------------------+---------------------- Comment (by snc@…): The `python/CMakeLists.txt` finds the incorrect path from `distutils.sysconfig.get_python_lib(plat_specific=True, prefix='${prefix}')`. -- Ticket URL: <https://trac.macports.org/ticket/47601#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#47601: libftdi1 @1.2_1: Python package misplaced -----------------------------+-------------------- Reporter: ivo.clarysse@… | Owner: snc@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: python Port: libftdi | -----------------------------+-------------------- Changes (by snc@…): * status: assigned => closed * resolution: => fixed Comment: Think I got it in r135786. -- Ticket URL: <https://trac.macports.org/ticket/47601#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts