blob: 137e6e697c55b721105e292d04045d263276e31b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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()
|