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 )