Am 22.05.2011 00:07, schrieb Martin Zibricky: > Ryan Welch pÃÅ¡e v So 21. 05. 2011 v 08:21 -0700: >> Seems to me like there has to be some sort of python import hook here >> to catch sphinx.pycode and set _grammarfile appropriately, but I'm not >> quite sure how to do it. > Or there could be a way how to obfuscate the __file__ variable for the > sphinx.pycode module. > > perhaps the function __import__ could do the job This sounds like a bad hack. I suppose it is working in one-dir mode (not tested, though)
-- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp-gefluester.de/ Goebel Consult mit Mitglied bei http://www.7-it.de
smime.p7s
Description: S/MIME Cryptographic Signature
