16 lines
380 B
Python
Executable File
16 lines
380 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
import os, sys
|
|
|
|
try:
|
|
import packstack
|
|
except:
|
|
# packstack isn't installed, running from source checkout
|
|
sys.path.append(os.path.join(os.path.split(sys.argv[0])[0], ".."))
|
|
import packstack
|
|
|
|
os.environ["INSTALLER_PROJECT_DIR"] = os.path.abspath(os.path.split(packstack.__file__)[0])
|
|
|
|
from packstack.installer import run_setup
|
|
run_setup.main()
|