Installation Guide

pylimer-tools can be installed in several ways depending on your needs and system configuration.

Development Installation

If you want to contribute to pylimer-tools or need the latest development features, you can install from source.

Prerequisites

Before installing from source, ensure you have the following development tools:

On macOS/Linux:

# Install git and build tools
# On macOS (using Homebrew):
brew install git cmake bison flex python3

# On Ubuntu/Debian:
sudo apt-get update
sudo apt-get install git build-essential cmake python3-dev bison flex

# On CentOS/RHEL/Fedora:
sudo yum install git gcc-c++ cmake python3-devel bison flex
# or for newer versions:
sudo dnf install git gcc-c++ cmake python3-devel bison flex

On Windows:

  1. Install Visual Studio Community with C++ development tools

  2. Install Git for Windows

  3. Install CMake

Installation from Source

  1. Clone the repository:

    git clone https://github.com/GenieTim/pylimer-tools.git
    cd pylimer-tools
    
  2. Install in development mode:

    pip install -e .
    

    This installs the package in “editable” mode, so changes to the source code are immediately reflected.

  3. Verify the installation:

    import pylimer_tools_cpp
    print(pylimer_tools_cpp.version_information())
    

Updating Your Installation

For PyPI installations:

pip install --upgrade pylimer-tools

For development installations:

cd /path/to/pylimer-tools
git pull origin main
pip install -e .

Getting Help

If you encounter issues during installation:

  1. Check the GitHub Issues page

  2. Review the sections above whether you have all dependencies installed

  3. Create a new issue with: - Your operating system and Python version - The complete error message - Steps you’ve already tried