Hi all,
I can't get a py2exe compiled app to run with numarray (numarray-0.5.win32-
py2.2).
Also wxPythonWIN32-2.3.3.1-Py22 and ActivePython-2.2.1-222.
In the sample below, commenting out "import numarray" allows the exe to
run. Left in, I get "4.exe has generated errors" etc.
I'm going around and around and there isn't much on Google.
py2exe output is last.
With "Python 4.py" from the shell, all is well. Any ideas? Older numarray?
Numeric?
Ray
############### ############### # setup.py #############
from distutils.core import setup
import py2exe
setup(name="tf. 4",
scripts=["4.py"],
)
############### ############## 4.py code ############### #
from wxPython.wx import *
import numarray
import array
import operator
from random import Random
ID_STUB = 10
ID_IMPORT_XRC = 100
ID_PLOT = 111
ID_TRAIN = 122
ID_EXPORT_ONERE V= 124
ID_EXIT = 199
ID_ABOUT = 141
############### ############## Class defs ############### ##############
class MainFrame(wxFra me):
def __init__(self, parent, ID, title):
wxFrame.__init_ _(self, parent, ID, title, wxDefaultPositi on,
wxSize(800, 400))
if wxPlatform == '__WXMSW__':
self.icon = wxIcon('imagery/rotor.ico', wxBITMAP_TYPE_I CO)
self.SetIcon(se lf.icon)
self.Centre(dir ection = wxBOTH)
self.CreateStat usBar()
self.SetStatusT ext("Status: ready")
## create the menubar
fileMenu = wxMenu()
fileMenu.Append (ID_IMPORT_XRC, "Import &*.xrc", "Import an xrc data
file")
fileMenu.Append Separator()
fileMenu.Append (ID_EXPORT_ONER EV, "&Export", "Export One Rev data")
fileMenu.Append Separator()
fileMenu.Append (ID_EXIT, "E&xit", "Terminate the program")
toolsMenu = wxMenu()
toolsMenu.Appen d(ID_STUB, "Color", "Change the color scheme")
toolsMenu.Appen dSeparator()
toolsMenu.Appen d(ID_PLOT, "Plot", "Plot the data")
toolsMenu.Appen d(ID_TRAIN, "Train", "Train on the data")
helpMenu = wxMenu()
helpMenu.Append (ID_STUB, "&Help", "Index and glossary")
helpMenu.Append Separator()
helpMenu.Append (ID_ABOUT, "&About", "More information about this
program")
menuBar = wxMenuBar()
menuBar.Append( fileMenu, "&File");
menuBar.Append( toolsMenu, "&Tools");
menuBar.Append( helpMenu, "&Help");
self.SetMenuBar (menuBar)
EVT_MENU(self, ID_IMPORT_XRC, self.OnImportXR C)
EVT_MENU(self, ID_PLOT, self.createPlot )
EVT_MENU(self, ID_TRAIN, self.OnTraining )
EVT_MENU(self, ID_EXPORT_ONERE V, self.OnExport)
EVT_MENU(self, ID_ABOUT, self.OnAbout)
EVT_MENU(self, ID_EXIT, self.ExitFrame)
##### create and add notebook pages
############### ############### ############### ############### ########
self.nb = wxNotebook(self , -1)
self.fontObj = wxFont(11, wxMODERN, wxNORMAL, wxNORMAL, false)
def OnAbout(self, event):
dlg = wxMessageDialog (self, "Welcome to\n"
"Turbine v.1\n",
"Welcome", wxOK | wxICON_INFORMAT ION)
dlg.ShowModal()
dlg.Destroy()
self.nb.DeleteP age(0)
def ExitFrame(self, event):
self.Close(true )
# ----------------------------------------------------------------------
------------------
# handlers.
# ----------------------------------------------------------------------
------------------
def OnImportXRC(sel f, event):
self.dataPoints = 5000
# open the header file
dlg = wxFileDialog (self, "Select the XRC file for import", "data",
"", "*.xrc", wxOPEN)
if dlg.ShowModal() == wxID_OK:
try:
self.filePath = dlg.GetPath()
except IOError:
dlg_m = wxMessageDialog (self,
'There was an error opening the new
xrc file.',
'Error!', wxOK)
dlg_m.ShowModal ()
dlg_m.Destroy()
dlg.Destroy()
def createDataArray (self):
# create the XRC tabs
self.nb.xrcHead er = wxTextCtrl(self .nb, -1, "",wxPoint( 0, 0),
wxSize(75, 20), wxTE_MULTILINE| wxTE_RICH )
self.nb.xrcHead er.SetStyle(0, self.nb.xrcHead er.GetLastPosit ion(),
wxTextAttr("BLA CK", wxNullColour, self.fontObj))
self.nb.AddPage (self.nb.xrcHea der, "XRC Header: "+self.filePath )
self.nb.xrcHead er.LoadFile(sel f.filePath)
def createPlot(self , event=NULL):
plotWidthPoints = 5000
def OnExport(self, event):
self.nb.SetSele ction(1)
def OnTraining(self , event=NULL):
firstSet = TRUE
def createOneRevPlo t(self, pointsPerRev, revs):
plotWidthPoints = int(pointsPerRe v)
self.nb.Advance Selection()
def OnExport(self, event):
self.nb.SetSele ction(3)
def histogram(self, a, bins):
return 1
############### Main application class ###########
class App(wxApp):
def OnInit(self):
frame = MainFrame(NULL, -1, "Turbine ")
frame.Show(true )
self.SetTopWind ow(frame)
return true
app = App(0)
app.MainLoop()
############### ## py2exe output ############### ######
D:\projects\fin gerprinting>pyt hon setup.py py2exe
running py2exe
running build
running build_scripts
not copying 4.py (up-to-date)
running install_scripts
creating build\bdist.win 32\winexe
creating build\bdist.win 32\winexe\lib
creating build\bdist.win 32\winexe\lib\P ython
creating build\bdist.win 32\winexe\lib\P ython\Scripts
copying build\scripts-2.2\4.py ->
build\bdist.win 32\winexe\lib\P ython\Scripts
copying build\scripts-2.2\tf.4.py ->
build\bdist.win 32\winexe\lib\P ython\Scripts
copying build\scripts-2.2\tf.5.py ->
build\bdist.win 32\winexe\lib\P ython\Scripts
+----------------------------------------------------
| Processing script 4.py with py2exe-0.3.4
+----------------------------------------------------
creating build\bdist.win 32\winexe\colle ct
creating build\bdist.win 32\winexe\colle ct\4
creating build\bdist.win 32\winexe\colle ct\4\Scripts.py 2exe
Searching modules needed to run '4.py' on path:
['D:\\projects\\ fingerprinting\ \build\\bdist.w in32\\winexe\\l ib\\Python\\Li
b\\si
te-packages', '', 'D:\\Python\\Li b\\site-packages\\Pytho nwin',
'D:\\Python\\Li b\
\site-packages\\win32 ', 'D:\\Python\\Li b\\site-packages\\win32 \\lib',
'D:\\Pytho
n\\Lib\\site-packages', 'D:\\Python\\DL Ls', 'D:\\Python\\li b',
'D:\\Python\\li b\
\lib-tk', 'D:\\Python', 'D:\\Python\\li b\\site-packages\\numar ray']
force_imports =
Resolving binary dependencies:
D:\Python\lib\s ite-packages\numarr ay\_numarray.py d
D:\Python\lib\s ite-packages\numarr ay\_operator.py d
D:\Python\Lib\s ite-packages\py2exe \run.exe
D:\Python\Lib\s ite-packages\wxPyth on\utilsc.pyd
D:\Python\lib\s ite-packages\numarr ay\_conv.pyd
D:\Python\lib\s ite-packages\numarr ay\_bytes.pyd
D:\Python\lib\s ite-packages\numarr ay\_ufunc.pyd
D:\Python\lib\s ite-packages\numarr ay\_converter.p yd
D:\Python\Lib\s ite-packages\wxPyth on\wxmsw233h.dl l
D:\Python\Lib\s ite-packages\wxPyth on\wxc.pyd
C:\WIN2000\Syst em32\python22.d ll
D:\Python\lib\s ite-packages\numarr ay\_ndarray.pyd
D:\Python\lib\s ite-packages\numarr ay\memory.pyd
D:\Python\lib\s ite-packages\numarr ay\_sort.pyd
D:\Python\Lib\s ite-packages\wxPyth on\wxmsw232h.dl l
D:\Python\DLLs\ _sre.pyd
ext_mapping = {
'_conv': ('_conv.pyd', ('.pyd', 'rb', 3))
'_ndarray': ('_ndarray.pyd' , ('.pyd', 'rb', 3))
'_sort': ('_sort.pyd', ('.pyd', 'rb', 3))
'_converter': ('_converter.py d', ('.pyd', 'rb', 3))
'_numarray': ('_numarray.pyd ', ('.pyd', 'rb', 3))
'_ufunc': ('_ufunc.pyd', ('.pyd', 'rb', 3))
'_operator': ('_operator.pyd ', ('.pyd', 'rb', 3))
'_bytes': ('_bytes.pyd', ('.pyd', 'rb', 3))
'memory': ('memory.pyd', ('.pyd', 'rb', 3))
'wxPython.utils c': ('utilsc.pyd', ('.pyd', 'rb', 3))
'_sre': ('_sre.pyd', ('.pyd', 'rb', 3))
'wxPython.wxc': ('wxc.pyd', ('.pyd', 'rb', 3))
}
copying D:\Python\Lib\s ite-packages\py2exe \support.py ->
build\bdist.win 32\winex
e\collect\4\Scr ipts.py2exe
byte-compiling D:\Python\lib\p re.py to pre.pyc
byte-compiling D:\Python\lib\_ _future__.py to __future__.pyc
byte-compiling D:\Python\lib\c opy_reg.py to copy_reg.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\fonts.py to
wxPython\fonts. p
yc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\windows.py to
wxPython\windo
ws.pyc
byte-compiling D:\Python\lib\l ocale.py to locale.pyc
byte-compiling D:\Python\lib\r andom.py to random.pyc
byte-compiling D:\Python\lib\p open2.py to popen2.pyc
byte-compiling D:\Python\lib\s tat.py to stat.pyc
byte-compiling D:\Python\lib\i mputil.py to imputil.pyc
byte-compiling D:\Python\lib\s ite-packages\numarr ay\_ufuncall.py to
_ufuncall.py
c
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\events.py to
wxPython\events
..pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\utils.py to
wxPython\utils. p
yc
byte-compiling D:\Python\lib\s ite-packages\numarr ay\arrayprint.p y to
arrayprint.
pyc
byte-compiling D:\Python\lib\s tring.py to string.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\printfw.py to
wxPython\print
fw.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\misc.py to
wxPython\misc.p yc
byte-compiling D:\Python\lib\r e.py to re.pyc
byte-compiling D:\Python\lib\t empfile.py to tempfile.pyc
byte-compiling D:\Python\lib\w arnings.py to warnings.pyc
byte-compiling D:\Python\lib\s ite-packages\numarr ay\typeconv.py to
typeconv.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\streams.py to
wxPython\strea
ms.pyc
byte-compiling D:\Python\lib\s re_constants.py to sre_constants.p yc
byte-compiling D:\Python\lib\n tpath.py to ntpath.pyc
byte-compiling D:\Python\lib\s re_compile.py to sre_compile.pyc
byte-compiling D:\Python\lib\g etopt.py to getopt.pyc
byte-compiling D:\Python\lib\s ite-packages\numarr ay\ufunc.py to ufunc.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\controls2.py to
wxPython\con
trols2.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\windows3.py to
wxPython\wind
ows3.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\stattool.py to
wxPython\stat
tool.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\controls.py to
wxPython\cont
rols.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\__version__. py to
wxPython\_
_version__.pyc
byte-compiling D:\Python\lib\U serDict.py to UserDict.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\wx.py to
wxPython\wx.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\sizers.py to
wxPython\sizers
..pyc
byte-compiling D:\Python\lib\r epr.py to repr.pyc
byte-compiling D:\Python\lib\s re_parse.py to sre_parse.pyc
byte-compiling D:\Python\lib\c opy.py to copy.pyc
byte-compiling D:\Python\lib\s ite-packages\numarr ay\numerictypes .py to
numericty
pes.pyc
byte-compiling D:\Python\lib\t ypes.py to types.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\filesys.py to
wxPython\files
ys.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\windows2.py to
wxPython\wind
ows2.pyc
byte-compiling D:\Python\lib\d ospath.py to dospath.pyc
byte-compiling D:\Python\lib\s re.py to sre.pyc
byte-compiling D:\Python\lib\s ite-packages\numarr ay\numarray.py to
numarray.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\misc2.py to
wxPython\misc2. p
yc
byte-compiling D:\Python\lib\s ite-packages\numarr ay\ndarray.py to
ndarray.pyc
byte-compiling D:\Python\lib\l inecache.py to linecache.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\frames.py to
wxPython\frames
..pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\__init__.py to
wxPython\__in
it__.pyc
byte-compiling D:\Python\lib\p osixpath.py to posixpath.pyc
byte-compiling D:\Python\lib\s ite-packages\numarr ay\numinclude.p y to
numinclude.
pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\cmndlgs.py to
wxPython\cmndl
gs.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\image.py to
wxPython\image. p
yc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\mdi.py to
wxPython\mdi.py c
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\gdi.py to
wxPython\gdi.py c
byte-compiling D:\Python\lib\o s.py to os.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\clip_dnd.py to
wxPython\clip
_dnd.pyc
copying 4.py ->
build\bdist.win 32\winexe\colle ct\4\Scripts.py 2exe\__main__.p y
changing into 'build\bdist.wi n32\winexe\coll ect\4'
zip -rq D:\projects\fin gerprinting\bui ld\bdist.win32\ winexe\4.zip .
creating 'D:\projects\fi ngerprinting\bu ild\bdist.win32 \winexe\4.zip' and
adding
'.' to it
changing back to 'D:\projects\fi ngerprinting'
creating dist\4\4.exe
warning: py2exe: could not parse version number ''
No VersionInfo will be created
not copying D:\Python\lib\s ite-packages\numarr ay\_numarray.py d (output up-
to-dat
e)
not copying D:\Python\lib\s ite-packages\numarr ay\_operator.py d (output up-
to-dat
e)
not copying D:\Python\Lib\s ite-packages\wxPyth on\utilsc.pyd (output up-to-
date)
not copying D:\Python\lib\s ite-packages\numarr ay\_conv.pyd (output up-to-
date)
not copying D:\Python\lib\s ite-packages\numarr ay\_bytes.pyd (output up-to-
date)
not copying D:\Python\lib\s ite-packages\numarr ay\_ufunc.pyd (output up-to-
date)
not copying D:\Python\lib\s ite-packages\numarr ay\_converter.p yd (output up-
to-da
te)
not copying D:\Python\Lib\s ite-packages\wxPyth on\wxmsw233h.dl l (output up-
to-dat
e)
not copying D:\Python\Lib\s ite-packages\wxPyth on\wxc.pyd (output up-to-
date)
not copying C:\WIN2000\Syst em32\python22.d ll (output up-to-date)
not copying D:\Python\lib\s ite-packages\numarr ay\_ndarray.pyd (output up-
to-date
)
not copying D:\Python\lib\s ite-packages\numarr ay\memory.pyd (output up-to-
date)
not copying D:\Python\lib\s ite-packages\numarr ay\_sort.pyd (output up-to-
date)
not copying D:\Python\Lib\s ite-packages\wxPyth on\wxmsw232h.dl l (output up-
to-dat
e)
not copying D:\Python\DLLs\ _sre.pyd (output up-to-date)
warning: py2exe:
*************** *************** *************** *************** ***
**********
warning: py2exe: * The following modules were not found:
warning: py2exe: * cmndlgsc
warning: py2exe: * imagec
warning: py2exe: * clip_dndc
warning: py2exe: * windows3c
warning: py2exe: * filesysc
warning: py2exe: * eventsc
warning: py2exe: * windows2c
warning: py2exe: * controlsc
warning: py2exe: * misc2c
warning: py2exe: * os.path
warning: py2exe: * windowsc
warning: py2exe: * stattoolc
warning: py2exe: * printfwc
warning: py2exe: * gdic
warning: py2exe: * sizersc
warning: py2exe: * mdic
warning: py2exe: * fontsc
warning: py2exe: * streamsc
warning: py2exe: * miscc
warning: py2exe: * controls2c
warning: py2exe: * framesc
warning: py2exe:
*************** *************** *************** *************** ***
**********
removing 'build\bdist.wi n32\winexe\coll ect\4' (and everything under it)
Built File dist\4\4.exe
removing 'build\bdist.wi n32\winexe' (and everything under it)
I can't get a py2exe compiled app to run with numarray (numarray-0.5.win32-
py2.2).
Also wxPythonWIN32-2.3.3.1-Py22 and ActivePython-2.2.1-222.
In the sample below, commenting out "import numarray" allows the exe to
run. Left in, I get "4.exe has generated errors" etc.
I'm going around and around and there isn't much on Google.
py2exe output is last.
With "Python 4.py" from the shell, all is well. Any ideas? Older numarray?
Numeric?
Ray
############### ############### # setup.py #############
from distutils.core import setup
import py2exe
setup(name="tf. 4",
scripts=["4.py"],
)
############### ############## 4.py code ############### #
from wxPython.wx import *
import numarray
import array
import operator
from random import Random
ID_STUB = 10
ID_IMPORT_XRC = 100
ID_PLOT = 111
ID_TRAIN = 122
ID_EXPORT_ONERE V= 124
ID_EXIT = 199
ID_ABOUT = 141
############### ############## Class defs ############### ##############
class MainFrame(wxFra me):
def __init__(self, parent, ID, title):
wxFrame.__init_ _(self, parent, ID, title, wxDefaultPositi on,
wxSize(800, 400))
if wxPlatform == '__WXMSW__':
self.icon = wxIcon('imagery/rotor.ico', wxBITMAP_TYPE_I CO)
self.SetIcon(se lf.icon)
self.Centre(dir ection = wxBOTH)
self.CreateStat usBar()
self.SetStatusT ext("Status: ready")
## create the menubar
fileMenu = wxMenu()
fileMenu.Append (ID_IMPORT_XRC, "Import &*.xrc", "Import an xrc data
file")
fileMenu.Append Separator()
fileMenu.Append (ID_EXPORT_ONER EV, "&Export", "Export One Rev data")
fileMenu.Append Separator()
fileMenu.Append (ID_EXIT, "E&xit", "Terminate the program")
toolsMenu = wxMenu()
toolsMenu.Appen d(ID_STUB, "Color", "Change the color scheme")
toolsMenu.Appen dSeparator()
toolsMenu.Appen d(ID_PLOT, "Plot", "Plot the data")
toolsMenu.Appen d(ID_TRAIN, "Train", "Train on the data")
helpMenu = wxMenu()
helpMenu.Append (ID_STUB, "&Help", "Index and glossary")
helpMenu.Append Separator()
helpMenu.Append (ID_ABOUT, "&About", "More information about this
program")
menuBar = wxMenuBar()
menuBar.Append( fileMenu, "&File");
menuBar.Append( toolsMenu, "&Tools");
menuBar.Append( helpMenu, "&Help");
self.SetMenuBar (menuBar)
EVT_MENU(self, ID_IMPORT_XRC, self.OnImportXR C)
EVT_MENU(self, ID_PLOT, self.createPlot )
EVT_MENU(self, ID_TRAIN, self.OnTraining )
EVT_MENU(self, ID_EXPORT_ONERE V, self.OnExport)
EVT_MENU(self, ID_ABOUT, self.OnAbout)
EVT_MENU(self, ID_EXIT, self.ExitFrame)
##### create and add notebook pages
############### ############### ############### ############### ########
self.nb = wxNotebook(self , -1)
self.fontObj = wxFont(11, wxMODERN, wxNORMAL, wxNORMAL, false)
def OnAbout(self, event):
dlg = wxMessageDialog (self, "Welcome to\n"
"Turbine v.1\n",
"Welcome", wxOK | wxICON_INFORMAT ION)
dlg.ShowModal()
dlg.Destroy()
self.nb.DeleteP age(0)
def ExitFrame(self, event):
self.Close(true )
# ----------------------------------------------------------------------
------------------
# handlers.
# ----------------------------------------------------------------------
------------------
def OnImportXRC(sel f, event):
self.dataPoints = 5000
# open the header file
dlg = wxFileDialog (self, "Select the XRC file for import", "data",
"", "*.xrc", wxOPEN)
if dlg.ShowModal() == wxID_OK:
try:
self.filePath = dlg.GetPath()
except IOError:
dlg_m = wxMessageDialog (self,
'There was an error opening the new
xrc file.',
'Error!', wxOK)
dlg_m.ShowModal ()
dlg_m.Destroy()
dlg.Destroy()
def createDataArray (self):
# create the XRC tabs
self.nb.xrcHead er = wxTextCtrl(self .nb, -1, "",wxPoint( 0, 0),
wxSize(75, 20), wxTE_MULTILINE| wxTE_RICH )
self.nb.xrcHead er.SetStyle(0, self.nb.xrcHead er.GetLastPosit ion(),
wxTextAttr("BLA CK", wxNullColour, self.fontObj))
self.nb.AddPage (self.nb.xrcHea der, "XRC Header: "+self.filePath )
self.nb.xrcHead er.LoadFile(sel f.filePath)
def createPlot(self , event=NULL):
plotWidthPoints = 5000
def OnExport(self, event):
self.nb.SetSele ction(1)
def OnTraining(self , event=NULL):
firstSet = TRUE
def createOneRevPlo t(self, pointsPerRev, revs):
plotWidthPoints = int(pointsPerRe v)
self.nb.Advance Selection()
def OnExport(self, event):
self.nb.SetSele ction(3)
def histogram(self, a, bins):
return 1
############### Main application class ###########
class App(wxApp):
def OnInit(self):
frame = MainFrame(NULL, -1, "Turbine ")
frame.Show(true )
self.SetTopWind ow(frame)
return true
app = App(0)
app.MainLoop()
############### ## py2exe output ############### ######
D:\projects\fin gerprinting>pyt hon setup.py py2exe
running py2exe
running build
running build_scripts
not copying 4.py (up-to-date)
running install_scripts
creating build\bdist.win 32\winexe
creating build\bdist.win 32\winexe\lib
creating build\bdist.win 32\winexe\lib\P ython
creating build\bdist.win 32\winexe\lib\P ython\Scripts
copying build\scripts-2.2\4.py ->
build\bdist.win 32\winexe\lib\P ython\Scripts
copying build\scripts-2.2\tf.4.py ->
build\bdist.win 32\winexe\lib\P ython\Scripts
copying build\scripts-2.2\tf.5.py ->
build\bdist.win 32\winexe\lib\P ython\Scripts
+----------------------------------------------------
| Processing script 4.py with py2exe-0.3.4
+----------------------------------------------------
creating build\bdist.win 32\winexe\colle ct
creating build\bdist.win 32\winexe\colle ct\4
creating build\bdist.win 32\winexe\colle ct\4\Scripts.py 2exe
Searching modules needed to run '4.py' on path:
['D:\\projects\\ fingerprinting\ \build\\bdist.w in32\\winexe\\l ib\\Python\\Li
b\\si
te-packages', '', 'D:\\Python\\Li b\\site-packages\\Pytho nwin',
'D:\\Python\\Li b\
\site-packages\\win32 ', 'D:\\Python\\Li b\\site-packages\\win32 \\lib',
'D:\\Pytho
n\\Lib\\site-packages', 'D:\\Python\\DL Ls', 'D:\\Python\\li b',
'D:\\Python\\li b\
\lib-tk', 'D:\\Python', 'D:\\Python\\li b\\site-packages\\numar ray']
force_imports =
Resolving binary dependencies:
D:\Python\lib\s ite-packages\numarr ay\_numarray.py d
D:\Python\lib\s ite-packages\numarr ay\_operator.py d
D:\Python\Lib\s ite-packages\py2exe \run.exe
D:\Python\Lib\s ite-packages\wxPyth on\utilsc.pyd
D:\Python\lib\s ite-packages\numarr ay\_conv.pyd
D:\Python\lib\s ite-packages\numarr ay\_bytes.pyd
D:\Python\lib\s ite-packages\numarr ay\_ufunc.pyd
D:\Python\lib\s ite-packages\numarr ay\_converter.p yd
D:\Python\Lib\s ite-packages\wxPyth on\wxmsw233h.dl l
D:\Python\Lib\s ite-packages\wxPyth on\wxc.pyd
C:\WIN2000\Syst em32\python22.d ll
D:\Python\lib\s ite-packages\numarr ay\_ndarray.pyd
D:\Python\lib\s ite-packages\numarr ay\memory.pyd
D:\Python\lib\s ite-packages\numarr ay\_sort.pyd
D:\Python\Lib\s ite-packages\wxPyth on\wxmsw232h.dl l
D:\Python\DLLs\ _sre.pyd
ext_mapping = {
'_conv': ('_conv.pyd', ('.pyd', 'rb', 3))
'_ndarray': ('_ndarray.pyd' , ('.pyd', 'rb', 3))
'_sort': ('_sort.pyd', ('.pyd', 'rb', 3))
'_converter': ('_converter.py d', ('.pyd', 'rb', 3))
'_numarray': ('_numarray.pyd ', ('.pyd', 'rb', 3))
'_ufunc': ('_ufunc.pyd', ('.pyd', 'rb', 3))
'_operator': ('_operator.pyd ', ('.pyd', 'rb', 3))
'_bytes': ('_bytes.pyd', ('.pyd', 'rb', 3))
'memory': ('memory.pyd', ('.pyd', 'rb', 3))
'wxPython.utils c': ('utilsc.pyd', ('.pyd', 'rb', 3))
'_sre': ('_sre.pyd', ('.pyd', 'rb', 3))
'wxPython.wxc': ('wxc.pyd', ('.pyd', 'rb', 3))
}
copying D:\Python\Lib\s ite-packages\py2exe \support.py ->
build\bdist.win 32\winex
e\collect\4\Scr ipts.py2exe
byte-compiling D:\Python\lib\p re.py to pre.pyc
byte-compiling D:\Python\lib\_ _future__.py to __future__.pyc
byte-compiling D:\Python\lib\c opy_reg.py to copy_reg.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\fonts.py to
wxPython\fonts. p
yc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\windows.py to
wxPython\windo
ws.pyc
byte-compiling D:\Python\lib\l ocale.py to locale.pyc
byte-compiling D:\Python\lib\r andom.py to random.pyc
byte-compiling D:\Python\lib\p open2.py to popen2.pyc
byte-compiling D:\Python\lib\s tat.py to stat.pyc
byte-compiling D:\Python\lib\i mputil.py to imputil.pyc
byte-compiling D:\Python\lib\s ite-packages\numarr ay\_ufuncall.py to
_ufuncall.py
c
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\events.py to
wxPython\events
..pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\utils.py to
wxPython\utils. p
yc
byte-compiling D:\Python\lib\s ite-packages\numarr ay\arrayprint.p y to
arrayprint.
pyc
byte-compiling D:\Python\lib\s tring.py to string.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\printfw.py to
wxPython\print
fw.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\misc.py to
wxPython\misc.p yc
byte-compiling D:\Python\lib\r e.py to re.pyc
byte-compiling D:\Python\lib\t empfile.py to tempfile.pyc
byte-compiling D:\Python\lib\w arnings.py to warnings.pyc
byte-compiling D:\Python\lib\s ite-packages\numarr ay\typeconv.py to
typeconv.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\streams.py to
wxPython\strea
ms.pyc
byte-compiling D:\Python\lib\s re_constants.py to sre_constants.p yc
byte-compiling D:\Python\lib\n tpath.py to ntpath.pyc
byte-compiling D:\Python\lib\s re_compile.py to sre_compile.pyc
byte-compiling D:\Python\lib\g etopt.py to getopt.pyc
byte-compiling D:\Python\lib\s ite-packages\numarr ay\ufunc.py to ufunc.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\controls2.py to
wxPython\con
trols2.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\windows3.py to
wxPython\wind
ows3.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\stattool.py to
wxPython\stat
tool.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\controls.py to
wxPython\cont
rols.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\__version__. py to
wxPython\_
_version__.pyc
byte-compiling D:\Python\lib\U serDict.py to UserDict.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\wx.py to
wxPython\wx.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\sizers.py to
wxPython\sizers
..pyc
byte-compiling D:\Python\lib\r epr.py to repr.pyc
byte-compiling D:\Python\lib\s re_parse.py to sre_parse.pyc
byte-compiling D:\Python\lib\c opy.py to copy.pyc
byte-compiling D:\Python\lib\s ite-packages\numarr ay\numerictypes .py to
numericty
pes.pyc
byte-compiling D:\Python\lib\t ypes.py to types.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\filesys.py to
wxPython\files
ys.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\windows2.py to
wxPython\wind
ows2.pyc
byte-compiling D:\Python\lib\d ospath.py to dospath.pyc
byte-compiling D:\Python\lib\s re.py to sre.pyc
byte-compiling D:\Python\lib\s ite-packages\numarr ay\numarray.py to
numarray.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\misc2.py to
wxPython\misc2. p
yc
byte-compiling D:\Python\lib\s ite-packages\numarr ay\ndarray.py to
ndarray.pyc
byte-compiling D:\Python\lib\l inecache.py to linecache.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\frames.py to
wxPython\frames
..pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\__init__.py to
wxPython\__in
it__.pyc
byte-compiling D:\Python\lib\p osixpath.py to posixpath.pyc
byte-compiling D:\Python\lib\s ite-packages\numarr ay\numinclude.p y to
numinclude.
pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\cmndlgs.py to
wxPython\cmndl
gs.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\image.py to
wxPython\image. p
yc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\mdi.py to
wxPython\mdi.py c
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\gdi.py to
wxPython\gdi.py c
byte-compiling D:\Python\lib\o s.py to os.pyc
byte-compiling D:\Python\Lib\s ite-packages\wxPyth on\clip_dnd.py to
wxPython\clip
_dnd.pyc
copying 4.py ->
build\bdist.win 32\winexe\colle ct\4\Scripts.py 2exe\__main__.p y
changing into 'build\bdist.wi n32\winexe\coll ect\4'
zip -rq D:\projects\fin gerprinting\bui ld\bdist.win32\ winexe\4.zip .
creating 'D:\projects\fi ngerprinting\bu ild\bdist.win32 \winexe\4.zip' and
adding
'.' to it
changing back to 'D:\projects\fi ngerprinting'
creating dist\4\4.exe
warning: py2exe: could not parse version number ''
No VersionInfo will be created
not copying D:\Python\lib\s ite-packages\numarr ay\_numarray.py d (output up-
to-dat
e)
not copying D:\Python\lib\s ite-packages\numarr ay\_operator.py d (output up-
to-dat
e)
not copying D:\Python\Lib\s ite-packages\wxPyth on\utilsc.pyd (output up-to-
date)
not copying D:\Python\lib\s ite-packages\numarr ay\_conv.pyd (output up-to-
date)
not copying D:\Python\lib\s ite-packages\numarr ay\_bytes.pyd (output up-to-
date)
not copying D:\Python\lib\s ite-packages\numarr ay\_ufunc.pyd (output up-to-
date)
not copying D:\Python\lib\s ite-packages\numarr ay\_converter.p yd (output up-
to-da
te)
not copying D:\Python\Lib\s ite-packages\wxPyth on\wxmsw233h.dl l (output up-
to-dat
e)
not copying D:\Python\Lib\s ite-packages\wxPyth on\wxc.pyd (output up-to-
date)
not copying C:\WIN2000\Syst em32\python22.d ll (output up-to-date)
not copying D:\Python\lib\s ite-packages\numarr ay\_ndarray.pyd (output up-
to-date
)
not copying D:\Python\lib\s ite-packages\numarr ay\memory.pyd (output up-to-
date)
not copying D:\Python\lib\s ite-packages\numarr ay\_sort.pyd (output up-to-
date)
not copying D:\Python\Lib\s ite-packages\wxPyth on\wxmsw232h.dl l (output up-
to-dat
e)
not copying D:\Python\DLLs\ _sre.pyd (output up-to-date)
warning: py2exe:
*************** *************** *************** *************** ***
**********
warning: py2exe: * The following modules were not found:
warning: py2exe: * cmndlgsc
warning: py2exe: * imagec
warning: py2exe: * clip_dndc
warning: py2exe: * windows3c
warning: py2exe: * filesysc
warning: py2exe: * eventsc
warning: py2exe: * windows2c
warning: py2exe: * controlsc
warning: py2exe: * misc2c
warning: py2exe: * os.path
warning: py2exe: * windowsc
warning: py2exe: * stattoolc
warning: py2exe: * printfwc
warning: py2exe: * gdic
warning: py2exe: * sizersc
warning: py2exe: * mdic
warning: py2exe: * fontsc
warning: py2exe: * streamsc
warning: py2exe: * miscc
warning: py2exe: * controls2c
warning: py2exe: * framesc
warning: py2exe:
*************** *************** *************** *************** ***
**********
removing 'build\bdist.wi n32\winexe\coll ect\4' (and everything under it)
Built File dist\4\4.exe
removing 'build\bdist.wi n32\winexe' (and everything under it)