From bd2a8dad04994c28086c7c30636273a40be01243 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 27 Nov 2008 01:56:44 +0000 Subject: 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! :) git-svn-id: file:///home/or/svnrepo/updater/trunk@17398 55e972cd-5a19-0410-ae62-a4d7a52db4cd --- setup.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 415fc10..8d18db6 100644 --- a/setup.py +++ b/setup.py @@ -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 @@ setup(name='Thandy', packages=['thandy', 'thandy.packagesys'], scripts=SCRIPTS, cmdclass={'install': InstallCommand}, + # Tells the py2exe executable what module to actually execute + console=['lib/thandy/ClientCLI.py'], ) -- cgit v1.2.3