Closed GoogleCodeExporter closed 9 years ago
Original comment by yarmond
on 10 Apr 2012 at 12:00
Are you setting the "python_prefix" variable for SCons? I only see this
behavior when python_prefix is unspecified.
I think it's best to keep "python_prefix" and "prefix" independent, as there
are canonical locations on the PYTHONPATH for both system-wide installs (e.g.
/usr/local/lib/pythonX.Y/site-packages) and user-local (e.g.
~/.local/lib/pythonX.Y/site-packages) whereas there's not necessarily an
obvious place to put the rest of Cantera.
Original comment by yarmond
on 11 Apr 2012 at 4:10
I just ran into this problem on r1421. Depending on where I wanted to install
the Python libraries to, it did or did not work:
1. "python_prefix" unset:
Works fine, if you're allowed to write to the site-packages dir.
2. "python_prefix" == "prefix"
Also works fine.
3. "python_prefix" != "prefix"
Installation works fine. However, the SCons output at the end of "scons
install" shows a wrong location for the python libraries, and the
"prefix"/bin/setup_cantera file has the wrong path for the python libraries.
Hope this helps.
Original comment by thetruet...@googlemail.com
on 20 Apr 2012 at 2:39
The path reported by 'scons install' and the PYTHONPATH setting in
setup_cantera are fixed in r1427. Does that resolve this issue?
Original comment by yarmond
on 26 Apr 2012 at 9:23
I'm closing this as I believe the issue is resolved by the changes in r1427.
Feel free to re-open the issue and provide additional information if this is
not correct.
Original comment by yarmond
on 29 May 2012 at 7:26
Original issue reported on code.google.com by
hkmo...@gmail.com
on 5 Apr 2012 at 5:37