install.py 222 B

123456789
  1. #!python
  2. import os
  3. oxygine_path = os.path.realpath(".\\..\\")
  4. if os.name == "posix":
  5. cmd = "export OXYGINE=%(path)s" % {"path":oxygine_path, }
  6. else:
  7. cmd = "setx OXYGINE %(path)s" % {"path":oxygine_path, }
  8. os.system(cmd)