# 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);
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: