From ec19821ef5e57283b3fcac4589d3a39bae1f0e2f Mon Sep 17 00:00:00 2001 From: Johan Bregeon Date: Thu, 2 Feb 2023 19:57:56 +0100 Subject: [PATCH] 59 conda installation (#163) * conda environment yml file * update readme to include conda environment * use python-confluent-kafka>=1.9.2 for py311 support --- README.md | 16 +++++++++++++++- environment.yml | 19 +++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 environment.yml diff --git a/README.md b/README.md index 7759321..e89e6f3 100644 --- a/README.md +++ b/README.md @@ -11,12 +11,26 @@ ## Installation -`fink_client` requires a version of Python 3.9+. To install it, just run +`fink_client` requires a version of Python 3.9+. + +### install with pip ```bash pip install fink-client --upgrade ``` +### install within a conda environment + +```bash +git clone https://github.com/astrolabsoftware/fink-client.git +cd fink-client +conda env create -f environment.yml +# install the latest release +pip install fink-client +# install for development +pip install -e . +``` + Learn how to connect and use it by checking the [documentation](docs/). ## Registration diff --git a/environment.yml b/environment.yml new file mode 100644 index 0000000..4d75fb1 --- /dev/null +++ b/environment.yml @@ -0,0 +1,19 @@ +name: fink-client +channels: + - defaults + - conda-forge +dependencies: + - python>=3.9 + - coverage>=4.2 + - coveralls + - codecov + - python-confluent-kafka>=1.9.2 + - fastavro=1.6.0 + - astropy + - numpy + - pyarrow>=10.0.1 + - pandas + - pyyaml + - tabulate + - matplotlib +