瀏覽代碼

Improvements to MANIFEST.IN

Reduces size of wheel files to 5.7MB from 9.3MB
Karl Hobley 9 年之前
父節點
當前提交
9393b93538
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. 4 3
      MANIFEST.in

+ 4 - 3
MANIFEST.in

@@ -1,4 +1,5 @@
 include LICENSE *.rst *.txt
-recursive-include wagtail *
-recursive-exclude * __pycache__
-recursive-exclude * *.py[co]
+graft wagtail
+prune wagtail/wagtailadmin/static_src
+global-exclude __pycache__
+global-exclude *.py[co]