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
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
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.
Watchmaker can also be built and installed from source, using
The sources for
watchmaker are available from the GitHub repo.
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
--recursiveflag, as above. If you don’t, you will need to pull in the submodules as well:
git submodule update --init --recursive
If you want to install a specific branch or tag, check it out before installing watchmaker:
git checkout <branch-tag-foo>
Then you can install Watchmaker:
pip install .