Appropriately rename files so they're better-named when shipped in a package.

This commit is contained in:
Simon Quigley 2018-01-27 23:20:56 -06:00
parent 9265fe635b
commit 1f875635d7
2 changed files with 5 additions and 4 deletions

View File

@ -1,8 +1,9 @@
#!/usr/bin/make -f
all:
pyuic5 main.ui -o aboutlubuntu_auto.py
pyrcc5 main.qrc -o main_rc.py
pyuic5 main.ui -o aboutlubuntu_autowidgets.py
pyrcc5 main.qrc -o aboutlubuntu_autoresources.py
sed -i "s/main_rc/aboutlubuntu_autoresources/g" aboutlubuntu_autowidgets.py
clean:
rm -rvf *_auto.py main_rc.py __pycache__
rm -rvf aboutlubuntu_auto*.py __pycache__

View File

@ -31,7 +31,7 @@ from platform import system, uname
from lsb_release import get_distro_information
from PyQt5.QtWidgets import QWidget, QApplication, QMainWindow
from aboutlubuntu_auto import Ui_Dialog
from aboutlubuntu_autowidgets import Ui_MainWindow
class LubuntuAbout(QMainWindow, Ui_Dialog):
def __init__(self):