File: install.rst

package info (click to toggle)
ccdproc 2.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,132 kB
  • sloc: python: 5,554; makefile: 112
file content (82 lines) | stat: -rw-r--r-- 1,845 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
************
Installation
************

Requirements
============

Ccdproc has the following requirements:

- `Astropy`_ v2.0 or later
- `NumPy <http://www.numpy.org/>`_
- `SciPy <https://www.scipy.org/>`_
- `scikit-image <http://scikit-image.org/>`_
- `astroscrappy <https://github.com/astropy/astroscrappy>`_
- `reproject  <https://github.com/astrofrog/reproject>`_

One easy way to get these dependencies is to install a python distribution
like `anaconda`_.

Installing ccdproc
==================

Using pip
-------------

To install ccdproc with `pip <https://pip.pypa.io/en/latest/>`_, simply run::

    pip install ccdproc

Using conda
-------------

To install ccdproc with `anaconda`_, run::

    conda install -c conda-forge ccdproc


Building from source
====================

Obtaining the source packages
-----------------------------

Source packages
^^^^^^^^^^^^^^^

The latest stable source package for ccdproc can be `downloaded here
<https://pypi.org/project/ccdproc/#files>`_.

Development repository
^^^^^^^^^^^^^^^^^^^^^^

The latest development version of ccdproc can be cloned from github
using this command::

   git clone git://github.com/astropy/ccdproc.git

Building and Installing
-----------------------

To build ccdproc (from the root of the source tree)::

    python setup.py build

To install ccdproc (from the root of the source tree)::

    pip install .

To set up a development install in which changes to the source are immediately
reflected in the installed package (from the root of the source tree)::

    pip install -e .

Testing a source code build of ccdproc
--------------------------------------

The easiest way to test that your ccdproc built correctly (without
installing ccdproc) is to run this from the root of the source tree::

    python setup.py test

.. _anaconda: https://anaconda.com/