Remove some debug writes in setup.py that got left in the previous change
authorstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Wed, 28 Nov 2001 18:09:54 +0000 (18:09 +0000)
committerstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Wed, 28 Nov 2001 18:09:54 +0000 (18:09 +0000)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@127 fdb21ef1-2011-0410-befe-b5e4ea1792b1

Construct
src/setup.py

index 9114a761ae763fdcd10bc6ece7e6657c5cf3e343..cb3146ef2063e435b1142dfce5da3015eec310c2 100644 (file)
--- a/Construct
+++ b/Construct
@@ -370,7 +370,7 @@ for $p ($scons) {
     # We can get away with calling setup.py using a directory path
     # like this because we put a preamble in it that will chdir()
     # to the directory in which setup.py exists.
-    my $commands = qq(rm -rf $build/build $build/dist/*
+    my $commands = qq(rm -rf $build/build $build/dist/* $build/dist/$project-$version
                       python $build/setup.py @setup_args
                       python $build/setup.py bdist_wininst);
 
index b132a9e82794be174a7068aa86439f97cf9a461d..c3f526054d074766aa39d56634e4a5898bb51a0a 100644 (file)
@@ -38,9 +38,7 @@ from distutils.command.install_lib import install_lib
 
 class my_install_lib(install_lib):
     def finalize_options(self):
-       open("/dev/tty", "w").write("lib:  self.install_dir = %s\n" % self.install_dir)
         install_lib.finalize_options(self)
-       open("/dev/tty", "w").write("lib:  self.install_dir = %s\n" % self.install_dir)
        head = self.install_dir
         while head:
            if head == os.sep: