Installation

From Python Package Index

The preferred method to install watchmaker is from the Python Package Index (PyPi), using pip. Without any other options, this will always install the most recent stable release.

pip install watchmaker

If you do not have Python or pip, this Python installation guide can guide you through the process.

Note

Versions 10 and later of pip do not support Python 2.6. On CentOS 6 and RHEL 6, Python 2.6 is the system version of Python. If you are using Python 2.6 with watchmaker, you will need to restrict the pip install such that a version earlier than 10 is installed. See the relevant question in the [FAQ](faq.html) for more details.

From sources

Watchmaker can also be built and installed from source, using git and pip. The sources for watchmaker are available from the GitHub repo.

  1. First clone the public repository to pull the code to your local machine:

    git clone https://github.com/plus3it/watchmaker.git --recursive && cd watchmaker
    

    This project uses submodules, so it’s easiest to use the --recursive flag, as above. If you don’t, you will need to pull in the submodules as well:

    git submodule update --init --recursive
    
  2. If you want to install a specific branch or tag, check it out before installing watchmaker:

    git checkout <branch-tag-foo>
    
  3. Then you can install Watchmaker:

    pip install .