]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
setup: clean up fake pycryptopp distribution after test-with-fake-dists.py created it
authorZooko O'Whielacronx <zooko@zooko.com>
Wed, 17 Nov 2010 09:32:49 +0000 (01:32 -0800)
committerZooko O'Whielacronx <zooko@zooko.com>
Wed, 17 Nov 2010 09:32:49 +0000 (01:32 -0800)
misc/build_helpers/clean-up-after-fake-dists.py [new file with mode: 0644]

diff --git a/misc/build_helpers/clean-up-after-fake-dists.py b/misc/build_helpers/clean-up-after-fake-dists.py
new file mode 100644 (file)
index 0000000..a164a9c
--- /dev/null
@@ -0,0 +1,6 @@
+import glob, os, shutil
+
+if os.path.exists('support'):
+    shutil.rmtree('support')
+
+[shutil.rmtree(p) for p in glob.glob('pycryptopp*.egg')]