Ticket #2466 (new defect)

Opened 5 years ago

Last modified 5 years ago

--with-python does not accept argument

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

Description

The --with-python option for GDAL's configure does not accept an argument to the path of the python to be bound as most any other application would. It is poor form to place user installed packages in the system's site-packages. --with-python should accept an argument such as --with-python=/opt/environments/my-project/bin/python.

Change History

Changed 5 years ago by hobu

I thought it does this currently. There have been a number of patches by the Debian folks to allow this to happen, and I think everything has made it into 1.5.2. Additionally, if you want full control, the simplest way to install is to not use configure at all, but rather build/install your GDAL, and use your Python install's easy_install (you may need to install setuptools to get this) and issue

easy_install GDAL
Note: See TracTickets for help on using tickets.