From 4c29f6c75ff0ea88c6836de557ffa68e0ce47880 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Weber?= Date: Sat, 26 Oct 2024 18:56:12 +0200 Subject: [PATCH] removed plugin_info, adapted pyproject.tom --- plugin_info.toml | 20 -------------------- pyproject.toml | 39 ++++++++++++++++++++++++++++++++------- 2 files changed, 32 insertions(+), 27 deletions(-) delete mode 100644 plugin_info.toml diff --git a/plugin_info.toml b/plugin_info.toml deleted file mode 100644 index 7264e86..0000000 --- a/plugin_info.toml +++ /dev/null @@ -1,20 +0,0 @@ -[plugin-info] -## To modify by developper(s) of the plugin -SHORT_PLUGIN_NAME = 'mock' -package-url = 'https://github.com/PyMoDAQ/pymodaq_plugins_mock' -description = 'Set of base PyMoDAQ plugins including Mock ones for development' - -author = 'Sébastien Weber' -author-email = 'sebastien.weber@cemes.fr' - -[plugin-install] -packages-required = ['pymodaq>=5.0.0'] #list of required packages within quotes, eg: ["pyvisa", "numpy==1.19.3"] ... - - -[features] # defines the plugin features contained into this plugin -instruments = true # true if plugin contains instrument classes (else false, notice the lowercase for toml files) -extensions = false # true if plugins contains dashboard extensions -pid_models = false # true if plugins contains pid models -h5exporters = false # true if plugin contains custom h5 file exporters -scanners = false # true if plugin contains custom scan layout (daq_scan extensions) - diff --git a/pyproject.toml b/pyproject.toml index 205b27e..918e0a5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,18 +1,34 @@ -[build-system] -requires = ["hatchling>=1.9.0", "hatch-vcs", "toml", "pymodaq_utils>=0.0.3"] -build-backend = "hatchling.build" +[features] # defines the plugin features contained into this plugin +instruments = true # true if plugin contains instrument classes (else false, notice the lowercase for toml files) +extensions = false # true if plugins contains dashboard extensions +pid_models = false # true if plugins contains pid models +h5exporters = false # true if plugin contains custom h5 file exporters +scanners = false # true if plugin contains custom scan layout (daq_scan extensions) + +[urls] +package-url = 'https://github.com/PyMoDAQ/pymodaq_plugins_mock' [project] -dynamic = ["version", "authors", "dependencies", "description", "urls", "entry-points"] +name = "pymodaq_plugins_mock" +description = 'Set of base PyMoDAQ plugins including Mock ones for development' +dependencies = [ + "pymodaq>=5.0.0", +] + +authors = [ + {name = "Sébastien Weber", email = "sebastien.weber@cemes.fr"}, +] +maintainers = [ + {name = "Sébastien Weber", email = "sebastien.weber@cemes.fr"}, +] + +dynamic = ["version", "urls", "entry-points"] readme = "README.rst" license = { file="LICENSE" } requires-python = ">=3.8" -name = "pymodaq_plugins_mock" - classifiers = [ "Development Status :: 5 - Production/Stable", - "Environment :: Other Environment", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Natural Language :: English", @@ -27,6 +43,15 @@ classifiers = [ "Topic :: Software Development :: User Interfaces", ] +[build-system] +requires = [ + "hatchling>=1.9.0", + "hatch-vcs", "toml", + "pymodaq_utils>=0.0.5", + #"pymodaq_utils @ file:///C:/Users/weber/Labo/ProgrammesPython/PyMoDAQ_Git/pymodaq_utils" +] +build-backend = "hatchling.build" + [tool.hatch.metadata.hooks.custom] [tool.hatch.version]