From d54ea01cde47345f7e57367b405a111a01a22b88 Mon Sep 17 00:00:00 2001 From: Jan David Mol <mol@astron.nl> Date: Wed, 24 Aug 2022 11:46:31 +0200 Subject: [PATCH] L2SS-882: Fix pytango dependency, and explain how to get it installed --- README.md | 15 +++++++++++++++ requirements.txt | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2af55ed..9426fcb 100644 --- a/README.md +++ b/README.md @@ -13,12 +13,27 @@ Client library for using Tango Station Control. Table of Contents: +- [Prerequisites](#prerequisites) - [Installation](#installation) - [Usage](#usage) - [Development](#development) - [Debug](#debug) - [Releasenotes](#releasenotes) +## Prerequisites + +This package uses [PyTango](https://pytango.readthedocs.io), which wraps the Tango C++ library. You will need to install the Tango C++ headers & library to allow `pip` to install PyTango as part of this package's requirements: + +Debian and Ubuntu provide these natively: + +```shell +apt-get install libtango-dev +``` + +Under Arch, install the [tango-cpp AUR package](https://aur.archlinux.org/packages/tango-cpp). + +For other distros and installation methods, see [Tango's Linux installation manual](https://tango-controls.readthedocs.io/en/latest/installation/tango-on-linux.html). + ## Installation Wheel distributions are available from the [gitlab package registry](https://git.astron.nl/lofar2.0/lofar-station-client/-/packages/), diff --git a/requirements.txt b/requirements.txt index 3043b88..83bb53b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,4 +4,4 @@ numpy>=1.21.0 # BSD nptyping>=2.3.0 # MIT matplotlib>=3.5.0 # PSF pyDeprecate>=0.3.0 # MIT -tango # LGPLv3 +PyTango # GNU LGPL v3 -- GitLab