A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-checkins/2002-December/031990.html below:

[Python-checkins] python/dist/src setup.py,1.73.4.12,1.73.4.13

[Python-checkins] python/dist/src setup.py,1.73.4.12,1.73.4.13mwh@users.sourceforge.net mwh@users.sourceforge.net
Tue, 24 Dec 2002 06:45:57 -0800
Update of /cvsroot/python/python/dist/src
In directory sc8-pr-cvs1:/tmp/cvs-serv28257

Modified Files:
      Tag: release22-maint
	setup.py 
Log Message:
*cough* repair utterly broken stuff from my last check-in (to do with
renaming rather than deleting modules that don't import).


Index: setup.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/setup.py,v
retrieving revision 1.73.4.12
retrieving revision 1.73.4.13
diff -C2 -d -r1.73.4.12 -r1.73.4.13
*** setup.py	6 Dec 2002 15:33:01 -0000	1.73.4.12
--- setup.py	24 Dec 2002 14:45:54 -0000	1.73.4.13
***************
*** 4,8 ****
  __version__ = "$Revision$"
  
! import sys, os, getopt
  from distutils import sysconfig
  from distutils import text_file
--- 4,8 ----
  __version__ = "$Revision$"
  
! import sys, os, getopt, imp
  from distutils import sysconfig
  from distutils import text_file
***************
*** 162,168 ****
                  ext.name)
              return
          try:
!             __import__(ext.name)
!         except ImportError:
              if 1:
                  self.announce('*** WARNING: renaming "%s" since importing it'
--- 162,171 ----
                  ext.name)
              return
+         ext_filename = os.path.join(
+             self.build_lib,
+             self.get_ext_filename(self.get_ext_fullname(ext.name)))
          try:
!                         imp.load_dynamic(ext.name, ext_filename)
!         except ImportError, why:
              if 1:
                  self.announce('*** WARNING: renaming "%s" since importing it'





RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4