Debian Codegraph @

docs/source/install/mac_gensource.rst

raw
1 General instructions for installing from source (advanced users)
2 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3 .. _macgen:
4
5 #. Install a standalone version of python 3.X (recommended, not required).
6
7 #. Install the following python packages (most recent version of each recommended):
8
9 * numpy
10
11 * scipy
12
13 * matplotlib
14
15 * pillow
16
17 * wxpython
18
19 * h5py
20
21 * cython
22
23 * fabio
24
25 * pyFAI
26
27 * hdf5plugin
28
29 * numba
30
31 * reportlab
32
33 * mmcif_pdbx
34
35 * svglib
36
37 #. Download the latest RAW sourcecode from sourceforge (
38 `https://sourceforge.net/projects/bioxtasraw <https://sourceforge.net/projects/bioxtasraw>`_)
39
40 #. Extract RAW to a directory of your choice.
41
42 #. In the top level RAW directory run ``python setup.py build_ext --inplace``
43 to build the extensions.
44
45 #. In the :file:`bioxtasraw` subdirectory run :file:`RAW.py` using python.
46
47 #. Enjoy!
48
49 * If you have problems, please consult the detailed installation guide and the
50 :ref:`solutions to common problems <mactrb>` below. If that doesn’t help,
51 please contact the developers.
52
53
54 Notes for python 2 installation
55 *********************************
56
57 As of version 2.0.0, RAW is Python 3 compatible. The last guaranteed Python 2
58 compatible version of RAW is 2.0.0. However, it may still be possible to install
59 RAW for Python 2. A few additional notes for that:
60
61 #. Additional dependencies:
62
63 * future
64
65 #. Required version of pyFAI is 0.17