Debian Codegraph @

docs/source/install/linux_gen.rst

raw
1 General instructions for installing from source (advanced users)
2 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3 .. _lnxgen:
4
5 #. Install python 3.X (if it isn’t already installed), RAW is tested on 3.7 and 3.8.
6
7 #. Install python3 development tools and gcc (if they are not already installed).
8
9 #. Install the following python packages (version indicated if less than most recent):
10
11 * numpy
12
13 * scipy
14
15 * matplotlib
16
17 * pillow
18
19 * wxpython
20
21 * h5py
22
23 * cython
24
25 * fabio
26
27 * pyFAI
28
29 * hdf5plugin
30
31 * numba
32
33 * dbus-python
34
35 * reportlab
36
37 * mmcif_pdbx
38
39 * svglib
40
41 #. Download RAW source code from sourceforge (
42 `https://sourceforge.net/projects/bioxtasraw/files <https://sourceforge.net/projects/bioxtasraw/files>`_)
43
44 #. Extract RAW to a directory of your choice.
45
46 #. In the top level RAW directory run ``python setup.py build_ext --inplace``
47 to build the extensions.
48
49 #. In the :file:`bioxtasraw` subdirectory run :file:`RAW.py` using python.
50
51 #. Enjoy!
52
53 * If you have problems, please consult the detailed installation guides and check
54 out the :ref:`solutions to common problems <lnxtrb>`.
55
56 * If you want, see the section on :ref:`making a desktop shortcut for RAW <lnxsrt>`.
57
58
59 Notes for python 2 installation
60 *********************************
61
62 As of version 2.0.0, RAW is Python 3 compatible. The last guaranteed Python 2
63 compatible version of RAW is 2.0.0. However, it may still be possible to install
64 RAW for Python 2. A few additional notes for that:
65
66 #. Additional dependencies:
67
68 * future
69
70 #. Required version of pyFAI is 0.17