PyGreSQL and Distutils

Started by Bernard Frankpittalmost 25 years ago1 messages
#1Bernard Frankpitt
frankpit@erols.com
1 attachment(s)

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

Attachments:

setup.pytext/plain; charset=us-ascii; name=setup.pyDownload