Hi, Am 03.02.2011 11:27, schrieb Grégory Starck: > on my side I don't need at all this ; and more : I don't see, when the > "import shinken" succeed then, why it'd be needed to still change the > sys.path to explicitly put in in it the shinken "package" directory. > > Or am I missing something.. :-? I can't see, why this should be needed, too.
Further: I can not imagine why the __main__ module could not have a __file__ attribute. (At least if __main__ is a Python script.) -- 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/blog/distributing-python-programms-for-windows-using-pyinstaller Monatliche Kolumne: http://www.cissp-gefluester.de/ Goebel Consult mit Mitglied bei http://www.7-it.de
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________ Shinken-devel mailing list Shinken-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shinken-devel