Local (development) copy of packstack should have a higher priority
than system-wide version. This helps to develop on Packstack without having to install it.
This commit is contained in:
parent
398cf93ef0
commit
66df21910c
@ -6,7 +6,7 @@ try:
|
||||
import packstack
|
||||
except ImportError:
|
||||
# packstack isn't installed, running from source checkout
|
||||
sys.path.append(os.path.join(os.path.split(sys.argv[0])[0], ".."))
|
||||
sys.path.insert(0, 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])
|
||||
|
Loading…
x
Reference in New Issue
Block a user