T
Torsten Bronger
Hallöchen!
I use the Suse 10.0 RPM of Python 2.4. Unfortunately, it doesn't
seem to look for packages in /usr/local because "prefix" and
"exec_prefix" in site.py are the same (namely usr/).
I have my own packages in /usr/local/lib/python/site-packages. (Due
to easier backup, I don't want to change that.) What is the best
way to make Python look there?
I tried PYTHONPATH but I had trouble with a Python cron job which
didn't have the proper environment. I could edit site.py manually,
however, I wonder whether there is a cleaner way?
Tschö,
Torsten.
I use the Suse 10.0 RPM of Python 2.4. Unfortunately, it doesn't
seem to look for packages in /usr/local because "prefix" and
"exec_prefix" in site.py are the same (namely usr/).
I have my own packages in /usr/local/lib/python/site-packages. (Due
to easier backup, I don't want to change that.) What is the best
way to make Python look there?
I tried PYTHONPATH but I had trouble with a Python cron job which
didn't have the proper environment. I could edit site.py manually,
however, I wonder whether there is a cleaner way?
Tschö,
Torsten.