From 045c8c9141a5b729b7ef9e039748891393feefec Mon Sep 17 00:00:00 2001 From: Marcel Loose Date: Tue, 26 Mar 2024 11:35:01 +0100 Subject: [PATCH] WIP: Update README --- README.rst | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/README.rst b/README.rst index 308d111..b791a1f 100644 --- a/README.rst +++ b/README.rst @@ -8,10 +8,13 @@ a c++ library used in radio astronomy. Python-casacore replaces the old The python-casacore documentation can be found on `casacore.github.io/python-casacore `_. -.. image:: https://travis-ci.org/casacore/python-casacore.svg?branch=master - :target: https://travis-ci.org/casacore/python-casacore .. image:: https://coveralls.io/repos/github/casacore/python-casacore/badge.svg?branch=master :target: https://coveralls.io/github/casacore/python-casacore?branch=master +.. image:: https://github.com/casacore/python-casacore/actions/workflows/linux.yml/badge.svg?branch=master + :target: https://github.com/casacore/python-casacore/actions/workflows/linux.yml +.. image:: https://github.com/casacore/python-casacore/actions/workflows/osx.yml/badge.svg?branch=master + :target: https://github.com/casacore/python-casacore/actions/workflows/osx.yml + Installation ============ @@ -38,16 +41,17 @@ from source install these requirements: -* `setuptools `_ * `Casacore `__ * `Boost-python `_ -* `numpy `_ +* `numpy `_ * `cfitsio `_ +* `wcslib `_ +* `pip `_ On ubuntu you can install these with:: - $ apt-get install casacore-dev python-numpy \ - python-setuptools libboost-python-dev libcfitsio3-dev wcslib-dev + $ apt-get install casacore-dev libboost-python-dev python3-numpy \ + libcfitsio3-dev wcslib-dev python3-pip * compile and install:: @@ -55,13 +59,13 @@ On ubuntu you can install these with:: * or if you are installing from the source repository:: - $ python ./setup.py install - + $ pip install . + * If the compilation fails you might need to help the compiler find the paths to the boost and casacore libraries and headers. You can control this with the `CFLAGS` environment variable. For example on OS X when using homebrew and clang you need to do something like this:: - + CFLAGS="-std=c++11 \ -I/usr/local/Cellar/boost/1.68.0/include/ \ -I/usr/local/include/ \