From fccd250ef9bf13815e48cfb49fcd8dc642166262 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Thu, 21 Aug 2008 14:58:36 -0700 Subject: [PATCH] Even more general-purpose. --- setup.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index a05afbb..2e82183 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,12 @@ import sys -#import py2exe from glob import glob from distutils.core import setup, Distribution +try: + import py2exe +except ImportError: + pass + def files( path ): if sys.platform.startswith( "win" ): @@ -13,7 +17,11 @@ def files( path ): class Luminotes( Distribution ): def __init__( self, attrs ): + self.com_server = [] + self.services = [] + self.windows = [] self.console = [ "luminotes.py" ] + self.zipfile = "luminotes.zip" Distribution.__init__( self, attrs )