Le 23/08/2010 11:46, Ludovic Granjon a écrit :
Thank you Didrik
You are probably right, but how can I include geos ?
For example, my setup.py for cx_freeze is :
from cx_Freeze import setup, Executable
executables = [
Executable("ana.py")]
buildOptions = dict(
compressed = True,
includes = ["shapely"])
setup(
name = "ana_test",
version = "0.1",
description = "test",
options = dict(build_exe = buildOptions),
executables = executables)
After build, in library.zip I have a shapely directory with a geos.pyc
file.
Is that I miss something ?
Yes, you should have a geos.dll file. I do not remember where that one
is stored but for hydroplatform, using bbfreeze, I had to automate the
process of adding this file after the freeze.
-- Didrik