ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  pychartdir & py2exe
Posted by Svilen Minkov on Jan-21-2011 20:08
Hello,

I have problem using ChartDirector (Python) with py2exe.
When I try to compile the .py file to .exe the setup ends with :
"error : python31.dll: No such file or directory"

I'm using python 2.7 on windows XP

regards,
Minkov, Svilen

Setup code :

from distutils.core import setup
import py2exe
import sys

includes = ["os","sys","pychartdir"]
excludes = ["pywin", "pywin.debugger", "pywin.debugger.dbgcon",
             "pywin.dialogs", "pywin.dialogs.list",
                      "os","sys","pychartdir"
             ]


setup(console=['test.py'],options = {"py2exe": {"compressed": 0,
                          "optimize": 2,
                          "ascii": 1,
                           "bundle_files": 1,
                            "dll_excludes":["chartdir.dll"],
                           "includes": includes,
                          "excludes": excludes}})

  Re: pychartdir & py2exe
Posted by Svilen Minkov on Jan-21-2011 22:02
Fixed