mirror of
https://github.com/mupen64plus/mupen64plus-ui-python.git
synced 2025-04-02 10:51:53 -04:00
Print warning, when not running setup.py build
This commit is contained in:
parent
9681d460d3
commit
88f9a50ffa
1 changed files with 9 additions and 3 deletions
|
@ -14,14 +14,20 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import sys
|
||||
from PyQt5.QtCore import Qt
|
||||
from PyQt5.QtWidgets import QDialog, QMessageBox, QListWidgetItem
|
||||
|
||||
from m64py.utils import version_split
|
||||
from m64py.core.defs import FRONTEND_VERSION
|
||||
from m64py.ui.about_ui import Ui_AboutDialog
|
||||
from m64py.ui.license_ui import Ui_LicenseDialog
|
||||
from m64py.ui.archive_ui import Ui_ArchiveDialog
|
||||
|
||||
try:
|
||||
from m64py.ui.about_ui import Ui_AboutDialog
|
||||
from m64py.ui.license_ui import Ui_LicenseDialog
|
||||
from m64py.ui.archive_ui import Ui_ArchiveDialog
|
||||
except ModuleNotFoundError:
|
||||
print("You have to run setup.py build first")
|
||||
sys.exit(0)
|
||||
|
||||
|
||||
class AboutDialog(QDialog, Ui_AboutDialog):
|
||||
|
|
Loading…
Add table
Reference in a new issue