Opened 13 years ago

Closed 13 years ago

Last modified 11 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 by hobu, 13 years ago

Added to trunk in r23100

comment:2 by hobu, 13 years ago

Resolution: fixed
Status: newclosed

Backported to 1.8 branch in r23101

comment:3 by Even Rouault, 13 years ago

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 by Even Rouault, 11 years ago

Milestone: 1.8.2

Milestone 1.8.2 deleted

Note: See TracTickets for help on using tickets.