Installation

Installing pyteomics.biolccc from the Python Package Index (PyPi)

All platforms

The preferred way to install pyteomics.biolccc is with pip:

python -m pip install pyteomics.biolccc

If a platform wheel is not available, pip will build the extension from source. That requires a C++14 compiler toolchain and Python development headers.

GNU/Linux

The usual system prerequisites on Debian/Ubuntu are:

sudo apt-get install build-essential python3-dev

Windows

Install with pip in a regular Python environment:

py -m pip install pyteomics.biolccc

If pip needs to build from source, install Visual Studio Build Tools first.

Building libBioLCCC/pyteomics.biolccc from sources

The source code is available online at https://github.com/levitsky/biolccc. You can download the archived source code or pull the Git repository:

git clone https://github.com/levitsky/biolccc

GNU/Linux

To build the Python package you need:

  • GNU C++ compiler

  • Python 3

  • python3-dev package

To build the documentation you also need:

  • (documentation) Doxygen documentation system

  • (documentation) Sphinx documentation system, version >= 1.0.0

  • (documentation) DVIPNG converter

  • (documentation) matplotlib Python library

  • (optional) Git version control system

Under Ubuntu or Debian these dependencies can be satisfied using:

sudo apt-get install build-essential python3-dev \
             doxygen python3-sphinx python3-matplotlib dvipng

In order to compile and install the Python package:

  • Install from the repository root:

    python -m pip install .
    
  • Or, for development, install in editable mode:

    python -m pip install -e .
    

Windows

The main platform of libBioLCCC/pyteomics.biolccc development is Linux. However, we clearly understand importance of Windows and write platform-independent code and use only the cross-platform tools. All the C++ code present in the project can be compiled under Windows platform.