freeze in python3
Almar Klein
almar.klein at gmail.com
Thu Dec 10 06:50:43 EST 2009
Hi Patrick,
It's not exactly what you asked, but I've been able to freeze a Python
3 project using cx_Freeze.
Almar
2009/12/10 Patrick Stinson <patrickstinson.lists at gmail.com>:
> NOTE: This is related but is not a duplicate of my post from yesterday.
>
> Has anyone used Tools/freeze/freeze.py in python3? I tried it with a
> clean source distribution and for some reason freeze.py is generating
> code that uses the old naming convention for module init functions. I
> get the following unresolved symbols for the default hello.py:
>
> Undefined symbols for architecture i386:
> "_init_codecs", referenced from:
> __PyImport_Inittab in config.o
> "_init_functools", referenced from:
> __PyImport_Inittab in config.o
> "_init_thread", referenced from:
> __PyImport_Inittab in config.o
> "_initerrno", referenced from:
> __PyImport_Inittab in config.o
> "_initposix", referenced from:
> __PyImport_Inittab in config.o
> "_initgc", referenced from:
> __PyImport_Inittab in config.o
> "_init_locale", referenced from:
> __PyImport_Inittab in config.o
> "_init_io", referenced from:
> __PyImport_Inittab in config.o
> "_init_sre", referenced from:
> __PyImport_Inittab in config.o
> "_initimp", referenced from:
> __PyImport_Inittab in config.o
> "_initpwd", referenced from:
> __PyImport_Inittab in config.o
> "_init_weakref", referenced from:
> __PyImport_Inittab in config.o
> "_initsignal", referenced from:
> __PyImport_Inittab in config.o
> "_initzipimport", referenced from:
> __PyImport_Inittab in config.o
>
> For example, initerrno should now be PyInit_errno. Am I missing something?
> --
> http://mail.python.org/mailman/listinfo/python-list
>
More information about the Python-list
mailing list