Opened 12 years ago

Last modified 11 years ago

#32147 closed defect

gnuradio 3.3.0 installs to the wrong site-packages folder — at Initial Version

Reported by: nicholas.pate@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: gnuradio

Description

In Summer 2011, python ports were merged into a single portgroup and the site-packages folder for python26 was moved (see https://trac.macports.org/wiki/Python). However, gnuradio 3.3.0 and all of its component ports (gnuradio-wxgui, etc.) still install to the old location, /opt/local/lib/python2.6/site-packages/, where the python interpreter cannot find them. The correct site-packages folder, per the wiki link above, is /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages.

Presumably the fix needs to happen in the Portfile, which I suspect is hardcoded for the old destination. The correct behavior would be declaring the python portgroup and then using the python.pkgd variable, which will always point to the correct site-packages. I can't for the life of me figure out where the gnuradio Portfile is stored to go look at this myself.

Adding /opt/local/lib/python2.6/site-packages/ to the PYTHONPATH environment variable functions as a workaround.

Change History (0)

Note: See TracTickets for help on using tickets.