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 ?
Thanks
Ludovic
2010/8/23 Didrik Pinte <[email protected]>
> You most probably miss the geos dll dependency.
>
> -- Didrik
>
> On Mon, Aug 23, 2010 at 11:31 AM, Ludovic Granjon
> <[email protected]> wrote:
> > Hello
> > I made a script using ogr and shapely who work fine.
> > I try to deploy this script in an independant executable but I have some
> > problems with shapely.
> > I try with pyinstaller and cx_freeze but I always have a problem with
> > shapely (no problem with ogr). The executable worked well on the same PC
> > where the script is developped but not on an other PC.
> > Does anyone has done this before ?
> > How can I deploy a python script with shapely ?
> > Thanks
> >
> > Ludovic
> >
>
>
>
> --
> Didrik Pinte +32 475 665 668
> Enthought Europe [email protected]
> Scientific Computing Solutions http://www.enthought.com
>