Feature request #1406

psycopg2 should be added to QGIS distributions on Windows and OSX

Added by Andreas Neumann almost 16 years ago. Updated about 15 years ago.

Status:Closed
Priority:Low
Assignee:nobody -
Category:Build/Install
Pull Request or Patch supplied: Resolution:fixed
Easy fix?:No Copied to github as #:11466

Description

A number of QGIS plugins already rely on psycopg2 - while most Linux distributions have packages for psycopg2, it is harder to find an install on Windows and OSX.

It would be cool if psycopg2 could make it into the standard QGIS distributions an Windows and OSX.

Thank you!

History

#1 Updated by Paolo Cavallini over 15 years ago

Solved in OSGeo win installer. Is it the same for Mac?

#2 Updated by Andreas Neumann over 15 years ago

yes, on Windows and Linux its not a big problem. It is still a problem on OS X.

as far as I know it isn't yet solved on the Mac. I personally just need one way to access Postgis from Python across Mac/Linux/Windows.

Whether this is psycopg or qtsql, I don't care. Ideally, both would be present, since some plugins seem to use psycopg and some use qtsql.

I personally can adopt to either method. I don't care much. The popular Postgis Manager plugin from Martin Dobias seems to use psycopg and doesn't yet work out of the box on Mac.

#3 Updated by Giovanni Manghi about 15 years ago

What is the status of this issue under OS X?

#4 Updated by William Kyngesburye about 15 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

I could bundle psycopg2 in my OSX Qgis distribution. Depending on release plans for new Qgis versions, I may wait until the next version. If that's a ways off, I'll update the current release packages.

Qtsql framework is already bundled, though none of the driver plugins. Easy enough to do.

I'll close this, even though it may not happen for a while (it's on my list!).

Also available in: Atom PDF