Revert "main: Remove sys.path modification"

This reverts commit c00a49ebe1.
This commit is contained in:
Stein Magnus Jodal 2013-04-03 00:39:57 +02:00
parent f9fb30c76c
commit 99f26dd41c

View File

@ -22,6 +22,12 @@ mopidy_args = sys.argv[1:]
sys.argv[1:] = []
# Add ../ to the path so we can run Mopidy from a Git checkout without
# installing it on the system.
sys.path.insert(
0, os.path.abspath(os.path.join(os.path.dirname(__file__), '../')))
from mopidy import exceptions, settings
from mopidy.audio import Audio
from mopidy.config import default_config, config_schemas