Required Python versions
------------------------

Pyteomics supports Python 2.7 and Python 3. Python 2.6 and older are not supported.

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 pyteomics.pylab_aux)
- `lxml <http://pypi.python.org/pypi/lxml>`_ (used by pyteomics.mzml, pyteomics.pepxml, pyteomics.mzid)

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

The preferred way to obtain Pyteomics is via pip Python
package manager. 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

Windows
-------

- Download pre-compiled binary packages for Pyteomics dependencies:

    - `numpy <http://pypi.python.org/pypi/numpy>`_
    - `matplotlib <http://sourceforge.net/projects/matplotlib/files/matplotlib/>`_
    - `lxml <http://pypi.python.org/pypi/lxml>`_

- Download a pre-compiled binary Pyteomics package from `PyPI <http://pypi.python.org/pypi/pyteomics>`_.

OR

- If you have Enthought Python Distribution / ActivePython,
  execute in the command line::

      easy_install pip
      pip install lxml numpy matplotlib pyteomics

