pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Mikhail Terekhov <terekhov@emc.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: PyGreSQL: setup.py is broken in RC1
Date: Fri, 4 May 2001 18:25:48 -0400 (EDT)
Message-ID: <200105042225.f44MPmN22558@candle.pha.pa.us> (raw)
In-Reply-To: <3ABFB79B.B6A4E67F@emc.com>


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

> 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@postgresql.org)
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



view thread (4+ messages)  latest in thread

Message-ID: <200105042225.f44MPmN22558@candle.pha.pa.us>
Permalink:  ../200105042225.f44MPmN22558@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200105042225.f44MPmN22558@candle.pha.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: pgman@candle.pha.pa.us, terekhov@emc.com
  Subject: Re: PyGreSQL: setup.py is broken in RC1
  In-Reply-To: <200105042225.f44MPmN22558@candle.pha.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox