forked from M-Labs/thermostat
Switch to pyproject.toml
This commit is contained in:
parent
ae70ce7e0b
commit
cfda30f795
|
@ -94,6 +94,7 @@
|
||||||
thermostat_gui = pkgs.python3Packages.buildPythonPackage {
|
thermostat_gui = pkgs.python3Packages.buildPythonPackage {
|
||||||
pname = "thermostat_gui";
|
pname = "thermostat_gui";
|
||||||
version = "0.0.0";
|
version = "0.0.0";
|
||||||
|
format = "pyproject";
|
||||||
src = "${self}/pytec";
|
src = "${self}/pytec";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgs.qt6.wrapQtAppsHook ];
|
nativeBuildInputs = [ pkgs.qt6.wrapQtAppsHook ];
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
[build-system]
|
||||||
|
requires = ["setuptools"]
|
||||||
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
|
[project]
|
||||||
|
name = "pytec"
|
||||||
|
version = "0.0"
|
||||||
|
authors = [{name = "M-Labs"}]
|
||||||
|
description = "Control TEC"
|
||||||
|
urls.Repository = "https://git.m-labs.hk/M-Labs/thermostat"
|
||||||
|
license = {text = "GPLv3"}
|
||||||
|
|
||||||
|
[project.gui-scripts]
|
||||||
|
tec_qt = "tec_qt:main"
|
||||||
|
|
||||||
|
[tool.setuptools]
|
||||||
|
packages.find = {}
|
||||||
|
py-modules = ["tec_qt", "ui_tec_qt", "autotune", "waitingspinnerwidget"]
|
Loading…
Reference in New Issue