pypiserver/make_manifest.py

16 lines
415 B
Python
Raw Normal View History

2011-07-29 02:02:28 +02:00
#! /usr/bin/env python
import os
2011-07-29 02:41:27 +02:00
2011-07-29 02:02:28 +02:00
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", ".travis-runtox.py")))
with open("MANIFEST.in", "w") as f:
for x in files:
f.write("include %s\n" % x)
2011-07-29 02:02:28 +02:00
2011-07-29 02:41:27 +02:00
if __name__ == '__main__':
2011-07-29 02:02:28 +02:00
main()