pypiserver/make_manifest.py
2012-10-15 22:17:17 +02:00

16 lines
394 B
Python
Executable File

#! /usr/bin/env python
import os
def main():
files = sorted(set([x.strip() for x in os.popen("git ls-files")]) -
set(("make_manifest.py", "commit-standalone",
"vendor", ".gitmodules", ".travis.yml")))
with open("MANIFEST.in", "w") as f:
for x in files:
f.write("include %s\n" % x)
if __name__ == '__main__':
main()