GUI: Thermostat Control Panel #147
16
flake.nix
16
flake.nix
@ -64,15 +64,22 @@
|
|||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
src = "${self}/pythermostat";
|
src = "${self}/pythermostat";
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkgs.qt6.wrapQtAppsHook ];
|
||||||
propagatedBuildInputs =
|
propagatedBuildInputs =
|
||||||
with pkgs.python3Packages; [
|
[ pkgs.qt6.qtbase ]
|
||||||
|
++ (with pkgs.python3Packages; [
|
||||||
numpy
|
numpy
|
||||||
matplotlib
|
matplotlib
|
||||||
pyqtgraph
|
pyqtgraph
|
||||||
pyqt6
|
pyqt6
|
||||||
qasync
|
qasync
|
||||||
pglive
|
pglive
|
||||||
];
|
]);
|
||||||
|
|
||||||
|
dontWrapQtApps = true;
|
||||||
|
postFixup = ''
|
||||||
|
wrapQtApp "$out/bin/thermostat_qt"
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
pglive = pkgs.python3Packages.buildPythonPackage rec {
|
pglive = pkgs.python3Packages.buildPythonPackage rec {
|
||||||
@ -96,6 +103,11 @@
|
|||||||
default = thermostat;
|
default = thermostat;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
apps.x86_64-linux.thermostat_gui = {
|
||||||
|
type = "app";
|
||||||
|
program = "${self.packages.x86_64-linux.pythermostat}/bin/thermostat_qt";
|
||||||
|
};
|
||||||
|
|
||||||
hydraJobs = {
|
hydraJobs = {
|
||||||
inherit thermostat;
|
inherit thermostat;
|
||||||
};
|
};
|
||||||
|
4
pythermostat/MANIFEST.in
Normal file
4
pythermostat/MANIFEST.in
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
graft examples
|
||||||
|
include pythermostat/gui/resources/artiq.ico
|
||||||
|
|||||||
|
include pythermostat/gui/view/param_tree.json
|
||||||
|
include pythermostat/gui/view/tec_qt.ui
|
@ -12,6 +12,7 @@ license = {text = "GPLv3"}
|
|||||||
|
|
||||||
[project.gui-scripts]
|
[project.gui-scripts]
|
||||||
thermostat_plot = "pythermostat.plot:main"
|
thermostat_plot = "pythermostat.plot:main"
|
||||||
|
thermostat_qt = "pythermostat.thermostat_qt:main"
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
thermostat_autotune = "pythermostat.autotune:main"
|
thermostat_autotune = "pythermostat.autotune:main"
|
||||||
|
Loading…
Reference in New Issue
Block a user
Isn't .ico an ancient Windows thing?