[TIMOB-5033] Tooling: Use the existing python interpreter for docgen.py from SCons
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-08-17T09:46:05.000+0000 |
Affected Version/s | Release 1.8.0 |
Fix Version/s | Sprint 2011-33, Release 1.8.0 |
Components | Tooling |
Labels | n/a |
Reporter | Marshall Culpepper |
Assignee | Marshall Culpepper |
Created | 2011-08-16T22:48:57.000+0000 |
Updated | 2017-03-16T21:00:46.000+0000 |
Description
Currently we're calling "python" directly when invoking the docgen script from package.py / SCons. We should be able to pass on the current interpreter directly so we don't lose any configuration / environment settings that were used to invoke the SCons build.
This is currently effecting the Linux CI server which has two Python installations: 2.4, and 2.6. Python 2.4 is the default installation, but the CI server overrides this by explicitly using python2.6 to build w/ SCons.
To verify the fix: Do a full "scons" build, and verify that the path printed below "Generating JSCA" is the full system path of your Python installation
Closing ticket as fixed.