瀏覽代碼

vagrant: update cleaning

Thomas Waldmann 8 年之前
父節點
當前提交
9b35fa1d39
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      Vagrantfile

+ 3 - 3
Vagrantfile

@@ -269,10 +269,10 @@ def install_borg(fuse)
     pip install -U wheel  # upgrade wheel, too old for 3.5
     cd borg
     # clean up (wrong/outdated) stuff we likely got via rsync:
-    rm -f borg/*.so borg/*.cpy*
-    rm -f borg/{chunker,crypto,compress,hashindex,platform_linux}.c
-    rm -rf borg/__pycache__ borg/support/__pycache__ borg/testsuite/__pycache__
+    rm -rf __pycache__
+    find src -name '__pycache__' -exec rm -rf {} \;
     pip install -r requirements.d/development.txt
+    python setup.py clean
   EOF
   if fuse
     script += <<-EOF