PyGreSQL and Distutils

From: Bernard Frankpitt <frankpit(at)erols(dot)com>
To: pgsql-hackers(at)postgresql(dot)org, darcy(at)druid(dot)net
Subject: PyGreSQL and Distutils
Date: 2001-02-03 03:19:49
Message-ID: 3A7B78D5.F4A24156@erols.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi All,

The setup.py file in PyGreSQL does not work with newer distutils (at
least not for the distutils in Python 2.0). The new versions of
distutils require you to use an instance of a new Python class called
Extension to configure the compiled extensions. I have attached a
modification of the setup.py script which works on my system (a Linux
system with Python 2.0, PyGreSQL 3.1, and PostgreSQL 7.1 December CVS).
Although I have hard-wired the location of my pgsql include and lib
directories, it is pretty obvious what has to be changed.

Bernie

Attachment Content-Type Size
setup.py text/plain 1.2 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-02-03 04:12:51 Re: A Sparc/Linux patch (for 7.1), and a Linux rc.d/init.d script....
Previous Message Ryan Kirkpatrick 2001-02-03 01:58:51 Re: A Sparc/Linux patch (for 7.1), and a Linux rc.d/init.d script....