Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
drizzlib [2020/01/24 14:01]
Déborah Paradis
drizzlib [2021/01/02 08:02]
ahughes
Line 22: Line 22:
   ​   ​
  CADE supports several options for getting access to drizzlib-python:​ ''​git'',​ ''​pip''​ and direct download of the source tarball.  CADE supports several options for getting access to drizzlib-python:​ ''​git'',​ ''​pip''​ and direct download of the source tarball.
 +  ​
 + The python package can be downloaded and installed via ''​pip'' ​ (recommended):​
 +
 +<​code>​
 +pip install drizzlib
 +</​code> ​
   ​   ​
 The source tree is available on [[https://​gitlab.irap.omp.eu/​cade/​drizzlib-python|gitlab]] . The source tree is available on [[https://​gitlab.irap.omp.eu/​cade/​drizzlib-python|gitlab]] .
Line 29: Line 35:
 https://​gitlab.irap.omp.eu/​OV-GSO-DC/​drizzlib-python|gitlab]]. https://​gitlab.irap.omp.eu/​OV-GSO-DC/​drizzlib-python|gitlab]].
  end comment */  end comment */
- 
-The python package itself can be downloaded and installed via ''​pip''​ : 
- 
-<​code>​ 
-pip install drizzlib 
-</​code>​ 
  
 Or you can directly grab a tarball here : Or you can directly grab a tarball here :
Line 50: Line 50:
 apt-get install python-dev pkg-config libfreetype* gfortran libopenblas-dev liblapack-dev apt-get install python-dev pkg-config libfreetype* gfortran libopenblas-dev liblapack-dev
 </​code>​ </​code>​
- 
  
 === Using pip === === Using pip ===
Line 64: Line 63:
 Uncompress the tarball, move into the newly created directory (e.g. ''​drizzlib-2.0''​) Uncompress the tarball, move into the newly created directory (e.g. ''​drizzlib-2.0''​)
  
 +Then, install drizzlib using ''​pip'':​
 +
 +<​code>​
 +pip install --editable .
 +</​code>​
 +
 +/* start comment
 Then, install the python dependencies using ''​pip''​ : Then, install the python dependencies using ''​pip''​ :
  
Line 76: Line 82:
 python setup.py install python setup.py install
 </​code>​ </​code>​
 +end comment */
  
 ==== Using the drizzlib python code : simple example ==== ==== Using the drizzlib python code : simple example ====