[or-cvs] r17398: {updater} Add mysterious commands suggested by coderman. He says they (updater/trunk)

nickm at seul.org nickm at seul.org
Thu Nov 27 01:56:45 UTC 2008


Author: nickm
Date: 2008-11-26 20:56:44 -0500 (Wed, 26 Nov 2008)
New Revision: 17398

Modified:
   updater/trunk/setup.py
Log:
Add mysterious commands suggested by coderman.  He says they will make py2exe work.  They don't _look_ like a backdoor to me, so in they go! :)

Modified: updater/trunk/setup.py
===================================================================
--- updater/trunk/setup.py	2008-11-26 18:22:38 UTC (rev 17397)
+++ updater/trunk/setup.py	2008-11-27 01:56:44 UTC (rev 17398)
@@ -3,6 +3,10 @@
 # $Id: setup.py,v 1.103 2007-09-15 19:06:37 nickm Exp $
 
 import sys
+try:
+    import py2exe
+except ImportError:
+    pass
 
 #
 #   Current Thandy version
@@ -127,5 +131,7 @@
       packages=['thandy', 'thandy.packagesys'],
       scripts=SCRIPTS,
       cmdclass={'install': InstallCommand},
+      # Tells the py2exe executable what module to actually execute
+      console=['lib/thandy/ClientCLI.py'],
 )
 



More information about the tor-commits mailing list