A little update.

Werner F. Bruhin wrote:
> Trying to py2exe the application I get an error no such file 
> "wxmsw26uh_vc.dll".
> 
> I am on:
> # Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)]
> # wxPython 2.6.3.2, Boa Constructor 0.4.4
> 
> Part of the changes I made inludes trying out numpy 0.8.9.
> 
> What is this dll for and where should it be?  The name looks like it is 
> part of wxWidget but I can't seem to find it.
Can not get it to work with numpy (see other thread), however using 
Numeric with the following py2exe setup.py sections looks like it works 
even using an Ansi wxPython version (my app uses a database, while I am 
planning to switch to Unicode, I don't have time for this at the moment).

The matplotlib related entries in the options section are "pytz" and 
"matplotlib.numerix" and the exclude of the wxmsg26uh_vc.dll".

# options for py2exe
options = {"py2exe": {"compressed": 1,
                       "optimize": 2,
                       "packages": ["encodings",
                                    "kinterbasdb",
                                    "pytz", "matplotlib.numerix",
                                    ],
                       "excludes": ["MySQLdb", "Tkconstants", "Tkinter", 
"tcl",
                                    "orm.adapters.pgsql", 
"orm.adapters.mysql"
                       ],
                       "dll_excludes": ["tcl84.dll", "tk84.dll", 
"wxmsw26uh_vc.dll"]
                       }
           }
zipfile = r"lib\library.zip"

And this is the setup section (with some stuff omitted):
setup(
       classifiers = ["Copyright:: Werner F. Bruhin",
...
                      "Natural Language :: English"],
       windows = [twcb],
       #console = [twcb],
       options = options,
       zipfile = zipfile,
       data_files = [("prog\\locale\\fr\\LC_MESSAGES",
                        mylocaleFR),
...
                     matplotlib.get_py2exe_datafiles(),
                     ("prog\\amaradata", amaradata),
                     ("prog\\amaradata\\Schemata", amaraschemata),
                     ]
     )

I am using py2exe 0.6.5, wxPython 2.6.3.2 and Python 2.4.

Need to do further testing with it, but the matplotlib plots (some line 
and pie charts - nothing very sophisticated) work fine.

Will give numpy another try, if I get some hints on how to overcome the 
issue reported in another thread.

Werner


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to