Even more general-purpose.
This commit is contained in:
parent
d28d97e3a5
commit
fccd250ef9
10
setup.py
10
setup.py
|
@ -1,8 +1,12 @@
|
||||||
import sys
|
import sys
|
||||||
#import py2exe
|
|
||||||
from glob import glob
|
from glob import glob
|
||||||
from distutils.core import setup, Distribution
|
from distutils.core import setup, Distribution
|
||||||
|
|
||||||
|
try:
|
||||||
|
import py2exe
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
def files( path ):
|
def files( path ):
|
||||||
if sys.platform.startswith( "win" ):
|
if sys.platform.startswith( "win" ):
|
||||||
|
@ -13,7 +17,11 @@ def files( path ):
|
||||||
|
|
||||||
class Luminotes( Distribution ):
|
class Luminotes( Distribution ):
|
||||||
def __init__( self, attrs ):
|
def __init__( self, attrs ):
|
||||||
|
self.com_server = []
|
||||||
|
self.services = []
|
||||||
|
self.windows = []
|
||||||
self.console = [ "luminotes.py" ]
|
self.console = [ "luminotes.py" ]
|
||||||
|
self.zipfile = "luminotes.zip"
|
||||||
Distribution.__init__( self, attrs )
|
Distribution.__init__( self, attrs )
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in New Issue