Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Setup

Table of contents

  1. Dependencies
  2. Install the package

Dependencies

Astrocook is written in Python 3 and requires the following packages:

You are suggested to manage the dependencies using Conda. The quickest way to do it is to get the Miniconda installer (instructions here) and to open an environment dedicated to Astrocook:

$ conda create -n astrocook python=3.7
$ source activate astrocook

This is an example of how you can install the required packages from the Conda repository:

$ conda install -c anaconda package-name=package-version

If this doesn’t work, look for the package in the Anaconda Cloud.

Install the package

  1. Clone the GitHub repository on your local machine:
    $ cd /your/path/
    $ git clone https://github.com/DAS-OATs/astrocook
    
  2. Fetch the last commit of the develop branch
    $ cd /your/path/astrocook/
    $ git fetch origin develop
    $ git checkout develop
    

❗️ The current documentation applies to v1.0.0, which has not been released yet. You are suggested to work on the develop branch until it gets merged on the master branch.