summaryrefslogtreecommitdiff
path: root/package/windows/README.rst
blob: cbf6fa327b42313ccf8e2d207ae018bb41190b90 (plain)
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
Generate silx fat binary for Windows
====================================

Pre-requisites
--------------

- `PyInstaller <https://pyinstaller.readthedocs.io/>`_ must be installed.
  Run: ``pip install -r requirements-dev.txt``
- `InnoSetup <https://jrsoftware.org/isinfo.php>`_ must be installed and in the ``PATH``.
- silx and all its dependencies must be INSTALLED::

    pip install silx[full]

  or from the source directory::

    pip install .[full]


Procedure
---------

- Go to the ``package/windows`` folder in the source directory
- Run ``pyinstaller pyinstaller.spec``.
  This will generates the fat binary in ``package/windows/dist/``.
  It will then run InnoSetup to create the installer in ``package/windows/artifacts/``.