This page provides the required steps to switch your mtools installation into "development" mode. This will let you test the develop branch, beta and release candidate versions as well as your own feature implementations and bugfixes, while still providing an easy fallback to the stable
Steps to move from a pip installation to "develop" mode
Get rid of your pip installation of mtools
sudo pip uninstall mtools
Clone the current mtools github repo to your computer. This step will create a folder
mtoolsunder your current folder, so you may want to switch to an appropriate directory first (e.g.
git clone https://github.com/rueckstiess/mtools.git
If you have forked mtools to your own account, just replace
rueckstiesswith your own github username.
Change into that
mtoolsfolder and check out the desired unstable branch (in this example
cd mtools git checkout develop
Install scripts in "development" mode
sudo python setup.py develop
Test if it worked by checking if the scripts can be found from any folder via tab-completion
This should auto-complete to
mlogfilter. Also confirm the current version:
Switching between stable and release candidate branch
You can always switch back to the current stable version, which is under the master branch. Change into the
mtools directory and run
git checkout master
to switch to the stable master branch, and change back to the unstable branch with
git checkout develop
You can always confirm your current version with the
--version parameter on any of the tools.
Note: Instead of
develop you can also check out any other branches, like release candidates.