diff options
Diffstat (limited to 'bundler/create_paths.py')
-rw-r--r-- | bundler/create_paths.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/bundler/create_paths.py b/bundler/create_paths.py new file mode 100644 index 0000000..137e6e6 --- /dev/null +++ b/bundler/create_paths.py @@ -0,0 +1,18 @@ +import sys +from distutils import file_util + +def main(): + if len(sys.argv) != 2: + print "ERROR: Wrong amount of parameters." + print + print "./create_paths.py <output file>" + print + quit() + filename = sys.argv[1] + + print "Generating paths file in", filename + file_util.write_file(filename, sys.path) + print "Done" + +if __name__ == "__main__": + main() |