dneise / acs_wishlist

just an issue tracker for the ACS feature wishlist
GNU General Public License v3.0
0 stars 0 forks source link

order of INTROOT and `/ACSSW/config/.acs/.bash_profile.acs` matters?! #10

Open dneise opened 4 years ago

dneise commented 4 years ago

INTROOT must show up in the PYTHON PATH, otherwise the pakages in INTROOT are not found. That is trivial.

This is apparently done in /ACSSW/config/.acs/.bash_profile.acs. So this order in the bashrc matters:

source /alma/ACS-2020JUN/ACSSW/config/.acs/.bash_profile.acs
export INTROOT=/home/almamgr/INTROOT

This does not work

but this does:

export INTROOT=/home/almamgr/INTROOT
source /alma/ACS-2020JUN/ACSSW/config/.acs/.bash_profile.acs

This is annoying and we should fix it. Messing around with PYTHON_PATH is not the right way to deal with this.

Have a Look at PYTHONPATH considered harmful