Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#4258 closed defect (fixed)

setup.py for Python bindings doesn't work for virtualenv

Reported by: hobu Owned by: hobu
Priority: normal Milestone:
Component: PythonBindings Version: unspecified
Severity: normal Keywords:
Cc:

Description

virtualenv and pip use the source code of the bindings on PyPI for installation, and these have a setup.cfg installed with them that points at ../../apps/gdal-config

When this is run the first time, it fails, and the bindings installation cannot happen. We should attempt to simply run a gdal-config that exists on the path one time in addition to what was specified to setup.cfg.

Change History (4)

comment:1 Changed 9 years ago by hobu

Added to trunk in r23100

comment:2 Changed 9 years ago by hobu

Resolution: fixed
Status: newclosed

Backported to 1.8 branch in r23101

comment:3 Changed 9 years ago by Even Rouault

r23105 /trunk/gdal/swig/python/setup.py: Fix r23100 to bring back python3 compat (#4258)

r23106 /branches/1.8/gdal/swig/python/setup.py: Fix r23101 to bring back python3 compat (#4258)

comment:4 Changed 7 years ago by Even Rouault

Milestone: 1.8.2

Milestone 1.8.2 deleted

Note: See TracTickets for help on using tickets.