[Python-checkins] CVS: distutils/distutils/command install_lib.py,1.33,1.34

Greg Ward python-dev@python.org
Sun, 1 Oct 2000 16:50:18 -0700


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

Modified Files:
	install_lib.py 
Log Message:
From 'run()', only call 'bytecompile()' if we actually have
pure Python modules to compile.

Index: install_lib.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/command/install_lib.py,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -r1.33 -r1.34
*** install_lib.py	2000/09/30 20:39:09	1.33
--- install_lib.py	2000/10/01 23:50:13	1.34
***************
*** 58,62 ****
  
          # (Optionally) compile .py to .pyc
!         if outfiles is not None:
              self.bytecompile(outfiles)
  
--- 58,62 ----
  
          # (Optionally) compile .py to .pyc
!         if outfiles is not None and self.distribution.has_pure_modules():
              self.bytecompile(outfiles)