freeze problem

cherokee at atlantic.net cherokee at atlantic.net
Fri May 11 01:22:00 EDT 2001


Hello All

I have two files:
foo.py    my python program I want to freeze
bar.so    a shared object I need to use in foo.py

The simple version of foo.py is
import bar
print "TEST"
bar.test()


If I run python foo.py it works properly.
I need to freeze foo.py with the shared object bar.so.


When I run freeze on this guy I get the statement:

generating table of frozen modules
Warning: unknown modules remain: bar
Now run "make" to build the target: foo


I have read in the README that this warning is generally tied to
python being made using shared libraries,
but this is not the case ... python was built using static linking.

Does this comment also mean that no extended python code can be frozen?

or am I just overlooking something very basic?

Thanks




More information about the Python-list mailing list