| 1 |
========================= |
| 2 |
Installation instructions |
| 3 |
========================= |
| 4 |
|
| 5 |
The latest stable release of NIXPy is available on PyPi as `nixio`_. |
| 6 |
NIXPy works with Python versions 3.6+ on Windows, macOS, and Linux. Support for python 2 has been dropped with the official end of life for python 2. |
| 7 |
The simplest way to install NIXPy is to use pip |
| 8 |
|
| 9 |
.. code-block:: shell |
| 10 |
|
| 11 |
pip3 install nixio |
| 12 |
|
| 13 |
|
| 14 |
Install developer version |
| 15 |
--------------------------- |
| 16 |
The latest unstable (beta) version of `NIXPy`_ at any given time is also on PyPi and can be installed with pip |
| 17 |
|
| 18 |
.. code-block:: shell |
| 19 |
|
| 20 |
pip3 install nixio --pre |
| 21 |
|
| 22 |
*Note that this version may contain untested code and should be used for testing new features in the format.* |
| 23 |
|
| 24 |
|
| 25 |
Build NIXPy from Source |
| 26 |
----------------------- |
| 27 |
|
| 28 |
You can also build NIXPy from source, if you want to test changes that are newer than the latest beta release or want to modify the source. |
| 29 |
The source code is available on `GitHub`_ and can be built as follows |
| 30 |
|
| 31 |
.. code-block:: bash |
| 32 |
|
| 33 |
git clone https://github.com/G-Node/nixpy |
| 34 |
python setup.py install |
| 35 |
|
| 36 |
Alternatively, to install in one step using pip |
| 37 |
|
| 38 |
.. code-block:: bash |
| 39 |
|
| 40 |
pip install git+https://github.com/G-Node/nixpy |
| 41 |
|
| 42 |
|
| 43 |
Dependencies |
| 44 |
============ |
| 45 |
|
| 46 |
NIXPy depends on `h5py`_, the Python interface to the HDF5 data format, and `numpy`_. |
| 47 |
|
| 48 |
Dependencies: |
| 49 |
|
| 50 |
- h5py: https://pypi.org/project/h5py/ |
| 51 |
- numpy: https://pypi.org/project/numpy/ |
| 52 |
|
| 53 |
.. LINKS |
| 54 |
.. _nixio: https://pypi.python.org/pypi/nixio/ |
| 55 |
.. _Github: https://github.com/G-Node/nixpy/tree/no-bindings-dev |
| 56 |
.. _h5py: http://www.h5py.org/ |
| 57 |
.. _numpy: https://www.numpy.org |
| 58 |
.. _NIXPy: https://github.com/G-Node/nixpy |