DescriptionPatch 1 demonstrates how to import a library into a python file where the path is not already in the pathlist. It half-fixes the issue where languages are defined in many places in make website - the other needs changes to website.make, but there is a problem with that since the variable PYTHON is not guaranteed to be defined.
Patch 2 should be read in conjuction with the change to the CG pushed as 022d5c7ef759c586e3ca6478cf5f1b5d56d31778. This shows how to set PYTHONPATH as part of the call to make, to allow python to find included libraries. Note the comment about the definition of the PYTHON variable. This is defined in config.make.in which is called with a normal call to make website, but not with the out-of-build-tree version documented in the CG section as above. Setting this as part of the call will be the next step.
Patch 5 should be the final version of this. NB. DO NOT USE THIS PATCH AS IS ON YOUR PRODUCTION SYSTEM. I have set is with a reduced set of languages to prove it works. Tested and working on make website. Not yet tested on the standalone website build, but should work the same.
Patch Set 1 #
Total comments: 1
Patch Set 2 : Updated simpler version to make create-weblinks-itexi use langdefs #Patch Set 3 : Updated following Jan's suggestion #Patch Set 4 : Further update to delete unneeded line #Patch Set 5 : Update to complete use of langdefs #
MessagesTotal messages: 15
|