Once that quantum is deployed there is no need to modified the python
path importing source_environment.
Change-Id: Iad4cce250137c6e5374ee90af6324f32f32da2ad
# it will override what happens to be installed in /usr/(local/)lib/python...
import __init__
-import source_environment
+
+try:
+ import source_environment
+except ImportError:
+ pass
+
from quantum.cli import main as cli
cli()
# it will override what happens to be installed in /usr/(local/)lib/python...
import __init__
-import source_environment
+try:
+ import source_environment
+except ImportError:
+ pass
+
from quantum.server import main as server
server()