Supported Python versions
-------------------------

Pyteomics supports Python 2.7 and Python 3.3+.

Project dependencies
--------------------

Pyteomics uses the following Python packages:

 - `numpy <http://pypi.python.org/pypi/numpy>`_
 - `matplotlib <http://sourceforge.net/projects/matplotlib/files/matplotlib/>`_
   (used by :py:mod:`pyteomics.pylab_aux`)
 - `lxml <http://pypi.python.org/pypi/lxml>`_ (used by XML parsing modules)
 - `pandas <http://pandas.pydata.org/>`_ (can be used with :py:mod:`pyteomics.pepxml`,
   :py:mod:`pyteomics.tandem`, :py:mod:`pyteomics.mzid`, :py:mod:`pyteomics.auxiliary`)
 - `sqlalchemy <http://www.sqlalchemy.org/>`_ (used by :py:mod:`pyteomics.mass.unimod`)
 - `pynumpress <https://pypi.org/project/pynumpress/>`_ (adds support for Numpress compression)

All dependencies are optional.

GNU/Linux
---------

The preferred way to obtain Pyteomics is via `pip Python package manager <https://pip.pypa.io/>`_.
The shell code for a freshly installed Ubuntu system::

    sudo apt-get install python-setuptools python-dev build-essential
    sudo easy_install pip
    sudo pip install lxml numpy matplotlib pyteomics

Arch-based distros
..................

On Arch Linux and related distros, you can install Pyteomics from AUR:

 - `python-pyteomics <https://aur.archlinux.org/packages/python-pyteomics/>`_
 - `python2-pyteomics <https://aur.archlinux.org/packages/python2-pyteomics/>`_


Windows
-------

- `Get pip <https://pip.pypa.io/en/stable/installing/>`_, if you don't have it yet.

- Install Pyteomics and its dependencies::

    pip install lxml numpy matplotlib pyteomics

