mirror of
https://github.com/lubuntu-team/lubuntu-about.git
synced 2025-08-10 13:34:04 +00:00
Appropriately rename files so they're better-named when shipped in a package.
This commit is contained in:
parent
9265fe635b
commit
1f875635d7
@ -1,8 +1,9 @@
|
|||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
all:
|
all:
|
||||||
pyuic5 main.ui -o aboutlubuntu_auto.py
|
pyuic5 main.ui -o aboutlubuntu_autowidgets.py
|
||||||
pyrcc5 main.qrc -o main_rc.py
|
pyrcc5 main.qrc -o aboutlubuntu_autoresources.py
|
||||||
|
sed -i "s/main_rc/aboutlubuntu_autoresources/g" aboutlubuntu_autowidgets.py
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rvf *_auto.py main_rc.py __pycache__
|
rm -rvf aboutlubuntu_auto*.py __pycache__
|
||||||
|
@ -31,7 +31,7 @@ from platform import system, uname
|
|||||||
from lsb_release import get_distro_information
|
from lsb_release import get_distro_information
|
||||||
from PyQt5.QtWidgets import QWidget, QApplication, QMainWindow
|
from PyQt5.QtWidgets import QWidget, QApplication, QMainWindow
|
||||||
|
|
||||||
from aboutlubuntu_auto import Ui_Dialog
|
from aboutlubuntu_autowidgets import Ui_MainWindow
|
||||||
|
|
||||||
class LubuntuAbout(QMainWindow, Ui_Dialog):
|
class LubuntuAbout(QMainWindow, Ui_Dialog):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user