forked from M-Labs/thermostat
Compare commits
11 Commits
e4ad9bf271
...
1eba7d8556
Author | SHA1 | Date | |
---|---|---|---|
1eba7d8556 | |||
a0bc119ffb | |||
bfbe8b79a7 | |||
f14e67de82 | |||
0a99e29d4d | |||
675ce9f0c7 | |||
e7d9126967 | |||
8589ebdf0f | |||
6e9b1cfe21 | |||
ca4e43b0d9 | |||
72c1aab682 |
@ -78,7 +78,7 @@
|
||||
|
||||
dontWrapQtApps = true;
|
||||
postFixup = ''
|
||||
wrapQtApp "$out/bin/thermostat_qt"
|
||||
wrapQtApp "$out/bin/tec_qt"
|
||||
'';
|
||||
};
|
||||
|
||||
@ -105,7 +105,7 @@
|
||||
|
||||
apps.x86_64-linux.thermostat_gui = {
|
||||
type = "app";
|
||||
program = "${self.packages.x86_64-linux.pythermostat}/bin/thermostat_qt";
|
||||
program = "${self.packages.x86_64-linux.pythermostat}/bin/tec_qt";
|
||||
};
|
||||
|
||||
hydraJobs = {
|
||||
@ -130,11 +130,7 @@
|
||||
pyqt6
|
||||
qasync
|
||||
pglive
|
||||
pythermostat
|
||||
]);
|
||||
shellHook = ''
|
||||
export PYTHONPATH=`git rev-parse --show-toplevel`/pythermostat:$PYTHONPATH
|
||||
'';
|
||||
};
|
||||
|
||||
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt-rfc-style;
|
||||
|
@ -10,13 +10,10 @@ description = "Control TEC"
|
||||
urls.Repository = "https://git.m-labs.hk/M-Labs/thermostat"
|
||||
license = {text = "GPLv3"}
|
||||
|
||||
[project.gui-scripts]
|
||||
thermostat_plot = "pythermostat.plot:main"
|
||||
thermostat_qt = "pythermostat.thermostat_qt:main"
|
||||
|
||||
[project.scripts]
|
||||
thermostat_autotune = "pythermostat.autotune:main"
|
||||
thermostat_test = "pythermostat.test:main"
|
||||
|
||||
[tool.setuptools]
|
||||
packages.find = {}
|
||||
[project.gui-scripts]
|
||||
thermostat_plot = "pythermostat.plot:main"
|
||||
thermostat_qt = "pythermostat.thermostat_qt:main"
|
||||
|
@ -55,7 +55,7 @@ class MainWindow(QtWidgets.QMainWindow):
|
||||
def __init__(self, args):
|
||||
super().__init__()
|
||||
|
||||
ui_file_path = importlib.resources.files("pythermostat.gui.view").joinpath("MainWindow.ui")
|
||||
ui_file_path = importlib.resources.files("pythermostat.gui.view").joinpath("tec_qt.ui")
|
||||
uic.loadUi(ui_file_path, self)
|
||||
|
||||
self._info_box = InfoBox()
|
||||
|
Loading…
Reference in New Issue
Block a user