Add root.json to the bundle
[bitmask_bundler.git] / bundler / create_paths.py
1 import sys
2 from distutils import file_util
3
4 def main():
5     if len(sys.argv) != 2:
6         print "ERROR: Wrong amount of parameters."
7         print
8         print "./create_paths.py <output file>"
9         print
10         quit()
11     filename = sys.argv[1]
12
13     print "Generating paths file in", filename
14     file_util.write_file(filename, sys.path)
15     print "Done"
16
17 if __name__ == "__main__":
18     main()