From 1f875635d7034e9aaf4b0470e213a90bdc1ede28 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Sat, 27 Jan 2018 23:20:56 -0600 Subject: [PATCH] Appropriately rename files so they're better-named when shipped in a package. --- src/Makefile | 7 ++++--- src/lubuntu-about | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Makefile b/src/Makefile index ec2b4ac..cfccd81 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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__ diff --git a/src/lubuntu-about b/src/lubuntu-about index 2fc4626..b66230f 100755 --- a/src/lubuntu-about +++ b/src/lubuntu-about @@ -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):