]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/my_distutils.py
compilation error fix (trailing comma in an enum)
[wxWidgets.git] / wxPython / my_distutils.py
index 12b4e6d09a6d481d83f37b410e7756e72bbbb83b..f1603f4f5f6d0673f65157de73181c0cd656fb74 100644 (file)
@@ -465,7 +465,7 @@ def run_swig(files, dir, gendir, package, USE_SWIG, force, swig_args, swig_deps=
                 cpp_file = string.join(string.split(cpp_file, '\\'), '/')
                 i_file = string.join(string.split(i_file, '\\'), '/')
 
-                cmd = ['swig'] + swig_args + ['-I'+dir, '-c', '-o', cpp_file, i_file]
+                cmd = ['./wxSWIG/wxswig'] + swig_args + ['-I'+dir, '-c', '-o', cpp_file, i_file]
                 spawn(cmd, verbose=1)
 
         # copy the generated python file to the package directory