Skip to content
Snippets Groups Projects
Commit 98bbed9d authored by Raphael GIRARDOT's avatar Raphael GIRARDOT
Browse files

added numpy dependency information

parent c3c134af
No related branches found
No related tags found
No related merge requests found
......@@ -68,6 +68,7 @@ class ContactManager(Device):
PROGRAMMING_LANGUAGE = "Programming language"
DEPENDENCY = "Dependency"
PYTANGO = "PyTango"
NUMPY = "NumPy"
FORMAT = "{:22s}: {:s}"
# Project version
CONTACT_MANAGER_VERSION = "0.0.1"
......@@ -398,6 +399,8 @@ class ContactManager(Device):
self.appendInfo(self.SEPARATOR, self.PROGRAMMING_LANGUAGE, self.PYTHON, version)
version = importlib.metadata.version(self.PYTANGO)
self.appendInfo(self.SEPARATOR, self.DEPENDENCY, self.PYTANGO, version)
version = importlib.metadata.version(self.NUMPY)
self.appendInfo(self.SEPARATOR, self.DEPENDENCY, self.NUMPY, version)
# Try to set Description class property if not set or set with a different value than default one
try:
prop = self.DB.get_class_property(
......
......@@ -16,6 +16,7 @@ This project is published under the [GNU Lesser General Public License V3](https
To properly work, this device needs:
- Python ≥ 3.10
- pytango ≥ 9.4.1, but ≠ 9.5.1
- numpy 1 *(dependency for pytango)*, &ge 1.19.5
<br /><br />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment