Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
swig/python/setup.py.in: workaround easy_install behavior on Windows …
…to keep .py scripts (fixes OSGeo#8811) This is a follow-up of OSGeo#8815 for Windows, and particularly to unbreak conda-forge builds that test the presence of the .py scripts. Before this PR, "python setup.py install" would cause the following logs: ``` Installing gdal2tiles.py script to C:\Miniconda3\envs\test\conda-bld\gdal-split_1700841951001\_h_env\Scripts [...] Deleting C:\Miniconda3\envs\test\conda-bld\gdal-split_1700841951001\_h_env\Scripts\gdal2tiles.py Installing gdal2tiles-script.py script to C:\Miniconda3\envs\test\conda-bld\gdal-split_1700841951001\_h_env\Scripts Installing gdal2tiles.exe script to C:\Miniconda3\envs\test\conda-bld\gdal-split_1700841951001\_h_env\Scripts ``` This PR hacks around easy_install to avoid the deletiong of the .py script
- Loading branch information