virtualenv-make-relocatable 410 B

123456789101112131415161718
  1. #!D:\Future\Slash\OpenISP\Backend\venv\Scripts\python.exe
  2. import argparse
  3. from virtualenv_relocator.cmd import make_environment_relocatable
  4. def parse_args():
  5. parser = argparse.ArgumentParser()
  6. parser.add_argument(dest="virtualenv_dir")
  7. return parser.parse_args()
  8. def main():
  9. args = parse_args()
  10. make_environment_relocatable(args.virtualenv_dir)
  11. if __name__ == "__main__":
  12. main()