gnuradio / pybombs

PyBOMBS (Python Build Overlay Managed Bundle System) is the GNU Radio install management system for resolving dependencies and pulling in out-of-tree projects.
https://gnuradio.org
GNU General Public License v3.0
414 stars 189 forks source link

Include Python 3 paths in PYTHONPATH #541

Closed argilo closed 4 years ago

argilo commented 5 years ago

Fixes #516

This adds the following paths to PYTHONPATH:

$prefix/lib/python3/site-packages
$prefix/lib64/python3/site-packages
$prefix/lib/python3/dist-packages
$prefix/lib64/python3/dist-packages

$prefix/lib/python3.6/site-packages
$prefix/lib64/python3.6/site-packages
$prefix/lib/python3.6/dist-packages
$prefix/lib64/python3.6/dist-packages

This is a quick fix to support GNU Radio 3.8.

jdemel commented 5 years ago

Would this still be a solution for Py3.7 or Py3.8? Or do we need to manually adopt to these versions?

Since a PyBOMBS prefix is probably Py2k or Py3k only, it might be preferable to dynamically generate this setup_env.sh after all.

sbmueller commented 4 years ago

I guess this is the 2nd issue occurring when installing GR 3.8 with PyBOMBS. Should be prioritized as well as https://github.com/gnuradio/gr-recipes/pull/155!

mbr0wn commented 4 years ago

I'm going to skip this and merge the py2_3 branch that people have started using. Please holler if that doesn't have the same effect@