Installation¶
The moclo
module is designed to be modular, and as such, you only need to
install whatever functionalities you are willing to use. Packages are distributed
on PyPI, and it is advised to use pip
to install them. See the
pip documentation to get pip if
it is not installed on your system.
Commands below use pip
in user mode: the packages will be installed in a
user-dependent location, and no additional permissions are needed. If for some
reason you need a system-wide setup, remove the --user
flag. Installing in
user-mode should be prefered to avoid dependency issues, in particular when on
an OS which provides a package manager (such as aptitude
on Debian, or even
homebrew
on Mac OSX).
PyPI + pip
¶
To download the latest releases from the Python Package Index:
$ pip install --user moclo moclo-ytk moclo-cidar moclo-ecoflex
GitHub + pip
¶
To download the development version from the source repository, you can specify a subfolder in the installation command and directly install it:
$ pip install --user git+https://github.com/althonos/moclo#subdirectory=moclo
$ pip install --user git+https://github.com/althonos/moclo#subdirectory=moclo-ytk
$ pip install --user git+https://github.com/althonos/moclo#subdirectory=moclo-cidar
$ pip install --user git+https://github.com/althonos/moclo#subdirectory=moclo-ecoflex
Check the CI build is passing, or else you may be installing a broken version of the library !