Hi Rudi, py2exe includes a lot of things into the distribution by default, so you'll need to extend the "excludes" in your options in the setup script to get a smaller distribution, see http://www.py2exe.org/index.cgi/GeneralTipsAndTricks. I've been using gdal with py2exe, and I guess that if you don't need large libraries like e.g. matplotlib or wx in your distribution, you should be able to get the size down to a few (less than 10) MB.
Cheers, Simon On Tue, Jul 20, 2010 at 1:54 PM, Rudi von Staden <[email protected]> wrote: > Hi all, > > I've created a small Python script that reads a set of points from a CSV > file, calculates the area of the outer hull of the points, and writes the > result to a text file. I would like to call the script from an Access > database. Since I can't guarantee that the users will have Python, I ran the > script through py2exe. > > 1) The resulting distribution folder includes Tcl/Tk files and folders. I > can only guess that these are used by GDAL in some way - are they required? > 2) The package is also surprisingly large for such a simple function - > nearly 30MB. I suppose that's to be expected, but is there a way to bring > down the footprint, short of translating to C++? > > Thanks, > Rudi > > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev >
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
