Skip site navigation (1) Skip section navigation (2)

Re: PyGreSQL: setup.py is broken in RC1

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Mikhail Terekhov <terekhov(at)emc(dot)com>, <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: PyGreSQL: setup.py is broken in RC1
Date: 2001-05-05 12:54:05
Message-ID: Pine.LNX.4.30.0105051453030.769-100000@peter.localdomain (view raw or flat)
Thread:
Lists: pgsql-interfaces
Bruce Momjian writes:

> Can someone comment on this?  It looks like single quotes are being
> changed.

The whole file looks out of date.  I don't see why we need this.  Use
./configure --with-python; make; make install.

>
> > Hi,
> >
> > setup.py doesn't work in 7.1RC1 and in CVS. Below patch
> > fixes this problem.
> >
> > Regards,
> > Mikhail
> >
> >
> >
> > Index: setup.py
> > ===================================================================
> > RCS file: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/python/setup.py,v
> > retrieving revision 1.3
> > diff -c -r1.3 setup.py
> > *** setup.py	2001/03/15 11:26:22	1.3
> > --- setup.py	2001/03/26 20:48:02
> > ***************
> > *** 19,24 ****
> > --- 19,25 ----
> >   # on using distutils to install Python programs.
> >
> >   from distutils.core import setup
> > + from distutils.extension import Extension
> >   import sys
> >
> >   if sys.platform == "win32":
> > ***************
> > *** 42,55 ****
> >       url = "http://www.druid.net/pygresql/",
> >       licence = "Python",
> >
> > ! 	py_modules = ['pg', 'pgdb'],
> >       ext_modules = [ Extension(
> > ! 		name='_pg',
> > !         'sources': ['pgmodule.c'],
> > !         'include_dirs': include_dirs,
> > !         'library_dirs': library_dirs,
> > !         'libraries': optional_libs
> > !     )]
> > ! 	data_files = data_files
> >   )
> >
> > --- 43,56 ----
> >       url = "http://www.druid.net/pygresql/",
> >       licence = "Python",
> >
> > !     py_modules = ['pg', 'pgdb'],
> >       ext_modules = [ Extension(
> > ! 	name='_pg',
> > !         sources= ['pgmodule.c'],
> > !         include_dirs= include_dirs,
> > !         library_dirs= library_dirs,
> > !         libraries= optional_libs
> > !     )],
> > !     data_files = data_files
> >   )
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 2: you can get off all lists at once with the unregister command
> >     (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
> >
>
>

-- 
Peter Eisentraut   peter_e(at)gmx(dot)net   http://funkturm.homeip.net/~peter


In response to

Responses

pgsql-interfaces by date

Next:From: Oleg BartunovDate: 2001-05-05 18:44:09
Subject: using placeholders in psql
Previous:From: Hiroshi InoueDate: 2001-05-05 03:43:41
Subject: RE: Postgres odbc driver bug

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group