diff options
Diffstat (limited to 'make-manifest')
| -rwxr-xr-x | make-manifest | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/make-manifest b/make-manifest deleted file mode 100755 index d9a3158..0000000 --- a/make-manifest +++ /dev/null @@ -1,21 +0,0 @@ -#! /usr/bin/env python - -# this file can be used as pre-commit hook with the following command: -# -# ln -sf ../../make-manifest .git/hooks/pre-commit -# - -import os - - -def main(): - files = sorted(set([x.strip() for x in os.popen("git ls-files")]) - - set(("make-manifest", ".gitignore"))) - with open("MANIFEST.in", "w") as f: - for x in files: - f.write("include %s\n" % x) - - os.system("git add MANIFEST.in; git diff --cached MANIFEST.in | cat") - -if __name__ == '__main__': - main() |
