ubiquity/virtualenv/make_bootstrap_script.py

8 строки
268 B
Python

import virtualenv
filename = 'jsbridge_virtualenv_extra_code.py'
output_filename = '../ubiquity/python/bootstrap.py'
output = virtualenv.create_bootstrap_script(open(filename, 'r').read())
print "Writing %s" % output_filename
open(output_filename, 'w').write(output)