failed to build decompyle/unpyc project on WindowsXP

Артем Николаевич artem.bz at gmail.com
Mon Jun 22 08:59:41 CEST 2009


Hello!

Project: http://unpyc.googlecode.com/svn/trunk/

For resolve problem You must:
1. modify file setup.py
 replace
       ext_modules = [Extension('unpyc/marshal_20',
                                ['unpyc/'],
                                define_macros=[]),
                      Extension('unpyc/marshal_21',
                                ['unpyc/marshal_21.c'],
                                define_macros=[]),
                      Extension('unpyc/marshal_22',
                                ['unpyc/marshal_22.c'],
                                define_macros=[]),
                      Extension('unpyc/marshal_23',
                                ['unpyc/marshal_23.c'],
                                define_macros=[]),
                      Extension('unpyc/marshal_24',
                                ['unpyc/marshal_24.c'],
                                define_macros=[]),
                      Extension('unpyc/marshal_25',
                                ['unpyc/marshal_25.c'],
                                define_macros=[]),
                      Extension('unpyc/marshal_26',
                                ['unpyc/marshal_26.c'],
                                define_macros=[]),
                      ]
on
       ext_modules = [Extension('marshal_20',
                                ['marshal_20.c'],
                                define_macros=[]),
                      Extension('marshal_21',
                                ['marshal_21.c'],
                                define_macros=[]),
                      Extension('marshal_22',
                                ['marshal_22.c'],
                                define_macros=[]),
                      Extension('marshal_23',
                                ['marshal_23.c'],
                                define_macros=[]),
                      Extension('marshal_24',
                                ['marshal_24.c'],
                                define_macros=[]),
                      Extension('marshal_25',
                                ['marshal_25.c'],
                                define_macros=[]),
                      Extension('marshal_26',
                                ['marshal_26.c'],
                                define_macros=[]),
                      ]

2. сopy files

marshal_20.c
marshal_21.c
marshal_22.c
marshal_23.c
marshal_24.c
marshal_25.c
marshal_26.c

from "unpyc" directory to "..\unpyc" near "setup.py" file.

3. Run python.exe setup.py install




More information about the Python-list mailing list