[Osgeo4w-trac] Re: [osgeo4w] #17: generate .bat for bin/*.py
OSGeo4W
trac_osgeo4w at osgeo.org
Tue Mar 13 19:00:19 EDT 2012
#17: generate .bat for bin/*.py
------------------------+---------------------------------------------------
Reporter: maphew | Owner: maphew
Type: enhancement | Status: assigned
Priority: major | Component: Package
Version: | Keywords: gdal-python
------------------------+---------------------------------------------------
Description changed by maphew:
Old description:
> this cmd snippet will generate a batch file for all the python scripts in
> the bin directory. It could be included as part of ''python'' and ''gdal-
> python'' packages.
> {{{
> for %%g in (*.py) do (@python "%%OSGEO4W_ROOT%%\bin\%%g" %%* >
> %%~ng.bat)
> }}}
New description:
this cmd snippet will generate a batch file for all the python scripts in
the bin directory. It could be included as part of ''python'' and ''gdal-
python'' packages.
{{{
for %%g in (*.py) do echo @python "%%OSGEO4W_ROOT%%\bin\%%g" %%* >
%%~ng.bat
}}}
--
--
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/17#comment:5>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.
More information about the Osgeo4w-trac
mailing list