Skip to content

Commit

Permalink
Correct the packaging; it should be good now to ship a binary.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsimonq2 committed Jan 31, 2018
1 parent 814e23f commit a467bfe
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions debian/install
@@ -0,0 +1 @@
src/lubuntu-about usr/bin/
4 changes: 1 addition & 3 deletions debian/rules
Expand Up @@ -3,13 +3,11 @@
export DH_VERBOSE = 1

export PYBUILD_NAME=lubuntu-about
export PYBUILD_INSTALL_ARGS_python3=--install-lib=/usr/share/lubuntu-about/

%:
(cd src && make clean && make)
dh $@ --with python3 --buildsystem=pybuild

override_dh_install:
dh_missing --fail-missing

override_dh_python3:
dh_python3 --no-shebang-rewrite
8 changes: 7 additions & 1 deletion src/lubuntu-about
Expand Up @@ -32,7 +32,13 @@ from lsb_release import get_distro_information
from PyQt5 import QtCore, QtGui, QtWidgets
from PyQt5.QtWidgets import QWidget, QApplication, QMainWindow

import aboutlubuntu_autoresources
try:
import aboutlubuntu_autoresources
except:
import importlib.util
spec = importlib.util.spec_from_file_location("aboutlubuntu_autoresources", "/usr/share/lubuntu-about/src/aboutlubuntu_autoresources.py")
aboutlubuntu_autoresources = importlib.util.module_from_spec(spec)
spec.loader.exec_module(aboutlubuntu_autoresources)

class LubuntuAboutDialog(object):
def setupUi(self, Dialog):
Expand Down

0 comments on commit a467bfe

Please sign in to comment.