mirror of
https://github.com/mupen64plus/mupen64plus-ui-python.git
synced 2025-04-02 10:51:53 -04:00
Allow to start from bin/
This commit is contained in:
parent
ccea55430b
commit
6ad95232eb
1 changed files with 3 additions and 3 deletions
|
@ -20,9 +20,9 @@ import os
|
||||||
import sys
|
import sys
|
||||||
import signal
|
import signal
|
||||||
|
|
||||||
if os.path.isdir(os.path.join(".", "src")) and os.path.isfile(
|
if os.path.isdir(os.path.join("..", "src")) and os.path.isfile(
|
||||||
os.path.join(".", "setup.py")):
|
os.path.join("..", "setup.py")):
|
||||||
sys.path.insert(0, os.path.realpath("src"))
|
sys.path.insert(0, os.path.realpath(os.path.join("..", "src")))
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from PyQt5.QtWidgets import QApplication
|
from PyQt5.QtWidgets import QApplication
|
||||||
|
|
Loading…
Add table
Reference in a new issue