remove some more files in make_manifest.py

This commit is contained in:
Ralf Schmitt 2012-10-15 22:17:17 +02:00
parent 37d155beb1
commit 99512aa2f6

@ -4,22 +4,12 @@ import os
def main(): def main():
files = [x.strip() for x in os.popen("git ls-files")] files = sorted(set([x.strip() for x in os.popen("git ls-files")]) -
set(("make_manifest.py", "commit-standalone",
def remove(n): "vendor", ".gitmodules", ".travis.yml")))
try: with open("MANIFEST.in", "w") as f:
files.remove(n) for x in files:
except ValueError: f.write("include %s\n" % x)
pass
remove("make_manifest.py")
remove("commit-standalone")
files.sort()
f = open("MANIFEST.in", "w")
for x in files:
f.write("include %s\n" % x)
f.close()
if __name__ == '__main__': if __name__ == '__main__':
main() main()