From 20fc78729b697c98d828bf32ae5bcb83edcc60d2 Mon Sep 17 00:00:00 2001 From: Ali Nwegy Date: Fri, 1 Mar 2024 11:53:50 +0100 Subject: [PATCH] Fix: Added pyvisa-py and setuptools --- pdm.lock | 28 +++++++++++++++++++++++++++- pyproject.toml | 4 +++- requirements.txt | 16 +++++++++++++++- 3 files changed, 45 insertions(+), 3 deletions(-) diff --git a/pdm.lock b/pdm.lock index 7841a10..8366e42 100644 --- a/pdm.lock +++ b/pdm.lock @@ -5,7 +5,7 @@ groups = ["default"] strategy = ["cross_platform", "inherit_metadata"] lock_version = "4.4.1" -content_hash = "sha256:608ed15e3b65004a3ba5d84822468940fc0b904375232d46e2220090bdbf163e" +content_hash = "sha256:e232de4dc34867089b0199628f6236405f11f243e746925d528a9ac1ef653290" [[package]] name = "pyvisa" @@ -21,6 +21,32 @@ files = [ {file = "PyVISA-1.14.1.tar.gz", hash = "sha256:71030041ed4c5dad77687454cf44b8be4d1642e9d1aaa22019248d41d8ed7a79"}, ] +[[package]] +name = "pyvisa-py" +version = "0.7.1" +requires_python = ">=3.8" +summary = "Pure Python implementation of a VISA library." +groups = ["default"] +dependencies = [ + "pyvisa>=1.13.0", + "typing-extensions", +] +files = [ + {file = "PyVISA-py-0.7.1.tar.gz", hash = "sha256:d0dd824055fd8cab8a2685d10e1277d52ad19604322fa53c17b47e70258d4594"}, + {file = "PyVISA_py-0.7.1-py3-none-any.whl", hash = "sha256:3675aa9fcabfcee6fbcc1e596f565c2538ecd0f69e7061f479d147b4afbd8c75"}, +] + +[[package]] +name = "setuptools" +version = "69.1.1" +requires_python = ">=3.8" +summary = "Easily download, build, install, upgrade, and uninstall Python packages" +groups = ["default"] +files = [ + {file = "setuptools-69.1.1-py3-none-any.whl", hash = "sha256:02fa291a0471b3a18b2b2481ed902af520c69e8ae0919c13da936542754b4c56"}, + {file = "setuptools-69.1.1.tar.gz", hash = "sha256:5c0806c7d9af348e6dd3777b4f4dbb42c7ad85b190104837488eab9a7c945cf8"}, +] + [[package]] name = "typing-extensions" version = "4.10.0" diff --git a/pyproject.toml b/pyproject.toml index 61409f9..33beef0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,9 @@ description = "A library for usage with SCPI compliant function generators (for requires-python = ">=3.9" version = "0.0.2" dependencies = [ - "PyVISA==1.14.1", + "pyvisa>=1.14.1", + "pyvisa-py>=0.7.1", + "setuptools>=69.1.1", ] authors = [ {name = "Ali Nwegy", email = "ali.el-nwegy@tuhh.de"}, diff --git a/requirements.txt b/requirements.txt index d8822de..a625be2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,15 @@ -PyVISA==1.14.1 +# This file is @generated by PDM. +# Please do not edit it manually. + +pyvisa==1.14.1 \ + --hash=sha256:6e4dfc9b6029b4f00d0d4960348c4889c2747aa7f83276950d48a349eab36a45 \ + --hash=sha256:71030041ed4c5dad77687454cf44b8be4d1642e9d1aaa22019248d41d8ed7a79 +pyvisa-py==0.7.1 \ + --hash=sha256:3675aa9fcabfcee6fbcc1e596f565c2538ecd0f69e7061f479d147b4afbd8c75 \ + --hash=sha256:d0dd824055fd8cab8a2685d10e1277d52ad19604322fa53c17b47e70258d4594 +setuptools==69.1.1 \ + --hash=sha256:02fa291a0471b3a18b2b2481ed902af520c69e8ae0919c13da936542754b4c56 \ + --hash=sha256:5c0806c7d9af348e6dd3777b4f4dbb42c7ad85b190104837488eab9a7c945cf8 +typing-extensions==4.10.0 \ + --hash=sha256:69b1a937c3a517342112fb4c6df7e72fc39a38e7891a5730ed4985b5214b5475 \ + --hash=sha256:b0abd7c89e8fb96f98db18d86106ff1d90ab692004eb746cf6eda2682f91b3cb