From f376599005413ca1336af4bacd940a6f3054651c Mon Sep 17 00:00:00 2001 From: Felix Kaschura Date: Mon, 29 Jul 2024 10:44:05 +0200 Subject: [PATCH] Specify version requirement and state recommended python version in readme --- README.md | 6 +++++- pyproject.toml | 2 +- src/pysweepme/__init__.py | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c08d55d..b076b34 100644 --- a/README.md +++ b/README.md @@ -5,13 +5,17 @@ instruments is handled via instrument drivers ("Device Classes"), that are pytho ## Installation So far, only Windows is supported. Other systems might work as well but probably some modifications are needed. +We recommend to use Python 3.9 64bit, as this is the python version and architecture targeted by us. In addition, +several drivers in our [instrument driver repository](https://github.com/SweepMe/instrument-drivers) bring their own +dependencies which are bundled for Python 3.9. + Use the command line (cmd) to install/uninstall: ### install pip install pysweepme ### install with force version - pip install pysweepme==1.5.5.45 + pip install pysweepme==1.5.6.10 ### uninstall pip uninstall pysweepme diff --git a/pyproject.toml b/pyproject.toml index 132bcd7..966418c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ name = "pysweepme" description = "Load SweepMe! instrument drivers in your own python projects." readme = "README.md" -requires-python = ">=3.9" +requires-python = ">=3.9,<3.12" license = { file = "LICENSE.txt" } maintainers = [ { name = "SweepMe! GmbH", email = "contact@sweep-me.net" }, diff --git a/src/pysweepme/__init__.py b/src/pysweepme/__init__.py index 48f0417..d821853 100644 --- a/src/pysweepme/__init__.py +++ b/src/pysweepme/__init__.py @@ -21,7 +21,7 @@ # SOFTWARE. -__version__ = "1.5.6.10" +__version__ = "1.5.6.11" import sys