| 1 |
General instructions for installing from source (advanced users) |
| 2 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 3 |
.. _wingen: |
| 4 |
|
| 5 |
#. Install Microsoft Visual C++ 14.2 Standalone: Build Tools for Visual Studio 2019 |
| 6 |
|
| 7 |
#. Install Python 3.X (if it isn’t already installed) and add it to your system |
| 8 |
path. |
| 9 |
|
| 10 |
#. Install the following Python packages (version indicated if less than most recent): |
| 11 |
|
| 12 |
* numpy |
| 13 |
|
| 14 |
* scipy |
| 15 |
|
| 16 |
* matplotlib |
| 17 |
|
| 18 |
* pillow |
| 19 |
|
| 20 |
* wxpython |
| 21 |
|
| 22 |
* h5py |
| 23 |
|
| 24 |
* cython |
| 25 |
|
| 26 |
* fabio |
| 27 |
|
| 28 |
* pyFAI |
| 29 |
|
| 30 |
* hdf5plugin |
| 31 |
|
| 32 |
* numba |
| 33 |
|
| 34 |
* reportlab |
| 35 |
|
| 36 |
* mmcif_pdbx |
| 37 |
|
| 38 |
* svglib |
| 39 |
|
| 40 |
#. Download the RAW source file (:file:`RAW-{x}.{y}.{z}-Source` where :file:`{x}.{y}.{z}` is the version number) |
| 41 |
from sourceforge ( |
| 42 |
`https://sourceforge.net/projects/bioxtasraw <https://sourceforge.net/projects/bioxtasraw>`_) |
| 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 :ref:`detailed installation guide |
| 54 |
<winsource>` and the :ref:`solutions to common problems <wintrb>`. If |
| 55 |
that doesn’t help, please contact the developers. |
| 56 |
|
| 57 |
|
| 58 |
Notes for python 2 installation |
| 59 |
********************************* |
| 60 |
|
| 61 |
As of version 2.0.0, RAW is Python 3 compatible. The last guaranteed Python 2 |
| 62 |
compatible version of RAW is 2.0.0. However, it may still be possible to install |
| 63 |
RAW for Python 2. A few additional notes for that: |
| 64 |
|
| 65 |
|
| 66 |
#. Install Microsoft Visual C++ 2008 Redistributable and Visual C++ Compiler for |
| 67 |
Python. |
| 68 |
|
| 69 |
#. Install Python 2.7 |
| 70 |
|
| 71 |
#. Additional dependencies: |
| 72 |
|
| 73 |
* future |
| 74 |
|
| 75 |
#. Required version of pyFAI is 0.17 |