[Python-checkins] CVS: distutils/distutils/command build_ext.py,1.49,1.50

Greg Ward python-dev@python.org
Mon, 26 Jun 2000 18:43:26 -0700


Update of /cvsroot/python/distutils/distutils/command
In directory slayer.i.sourceforge.net:/tmp/cvs-serv2490

Modified Files:
	build_ext.py 
Log Message:
A-ha!  Read Thomas' patch a little more carefully and figured it out: 
the 'implib_dir' attribute is back (only on NT, of course).

Index: build_ext.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/command/build_ext.py,v
retrieving revision 1.49
retrieving revision 1.50
diff -C2 -r1.49 -r1.50
*** build_ext.py	2000/06/27 01:37:10	1.49
--- build_ext.py	2000/06/27 01:43:24	1.50
***************
*** 156,159 ****
--- 156,160 ----
          if os.name == 'nt':
              self.library_dirs.append (os.path.join(sys.exec_prefix, 'libs'))
+             self.implib_dir = self.build_temp
              if self.debug:
                  self.build_temp = os.path.join (self.build_temp, "Debug")
***************
*** 546,550 ****
          # builds, they can go into the same directory.
          implib_file = os.path.join (
!             self.build_temp,
              self.get_ext_libname (ext.name))
          extra_args.append ('/IMPLIB:' + implib_file)
--- 547,551 ----
          # builds, they can go into the same directory.
          implib_file = os.path.join (
!             self.implib_dir,
              self.get_ext_libname (ext.name))
          extra_args.append ('/IMPLIB:' + implib_file)