Hi, I'm pretty unfamiliar with py2exe and I had been using it with matplotlib and it was working well. I upgraded to 0.86 and now it doesn't work. I know this is because the installation directory is different (no longer the share folder).  I thought I fixed it correctly but I get an error that indicates py2exe "can't find lib/site-packages/matplotlib/backends or it is not a regular file".  I am assuming that it doesn't like 'backends' because it is a folder and not a file.  I changed my setup code to this:

                   glob.glob(os.path.join(distutils.sysconfig.PREFIX, 'lib', 'site-packages','matplotlib', "*")))]

    options = options,
    # The lib directory contains everything except the executables and the python dll.
    windows = [app],
    data_files = data_files,
    # use out build_installer class as extended py2exe build command
    cmdclass = {"py2exe": build_installer},

how might I change this to get it working properly? thanks!!


Brings words and photos together (easily) with
PhotoMail - it's free and works with Yahoo! Mail.