forked from M-Labs/thermostat
Compare commits
13 Commits
1eba7d8556
...
e4ad9bf271
Author | SHA1 | Date | |
---|---|---|---|
e4ad9bf271 | |||
28df792cdc | |||
0d58d70607 | |||
d948d1d0a0 | |||
232fe19ae4 | |||
063dbc43a4 | |||
1b6939ee30 | |||
dd22470a30 | |||
a2b8a85244 | |||
62d3666275 | |||
8cba8d8717 | |||
e6a9ce7fe5 | |||
130bde480e |
@ -78,7 +78,7 @@
|
||||
|
||||
dontWrapQtApps = true;
|
||||
postFixup = ''
|
||||
wrapQtApp "$out/bin/tec_qt"
|
||||
wrapQtApp "$out/bin/thermostat_qt"
|
||||
'';
|
||||
};
|
||||
|
||||
@ -105,7 +105,7 @@
|
||||
|
||||
apps.x86_64-linux.thermostat_gui = {
|
||||
type = "app";
|
||||
program = "${self.packages.x86_64-linux.pythermostat}/bin/tec_qt";
|
||||
program = "${self.packages.x86_64-linux.pythermostat}/bin/thermostat_qt";
|
||||
};
|
||||
|
||||
hydraJobs = {
|
||||
@ -130,7 +130,11 @@
|
||||
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,10 +10,13 @@ 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"
|
||||
|
||||
[project.gui-scripts]
|
||||
thermostat_plot = "pythermostat.plot:main"
|
||||
thermostat_qt = "pythermostat.thermostat_qt:main"
|
||||
[tool.setuptools]
|
||||
packages.find = {}
|
||||
|
@ -55,7 +55,7 @@ class MainWindow(QtWidgets.QMainWindow):
|
||||
def __init__(self, args):
|
||||
super().__init__()
|
||||
|
||||
ui_file_path = importlib.resources.files("pythermostat.gui.view").joinpath("tec_qt.ui")
|
||||
ui_file_path = importlib.resources.files("pythermostat.gui.view").joinpath("MainWindow.ui")
|
||||
uic.loadUi(ui_file_path, self)
|
||||
|
||||
self._info_box = InfoBox()
|
||||
|
Loading…
Reference in New Issue
Block a user