Installation¶
Revl requires to be run from within an Autodesk Maya‘s Python environment.
This is usually done either by running the code from within an interactive
session of Maya, or through using the mayapy
shell. A Python interpreter is
already distributed with Maya so there is no need to install one.
Installing pip¶
The recommended [1] approach for installing a Python package such as Revl is
to use pip
, a package manager for projects written in Python. If pip
is
not already installed on your system, you can do so by following these steps:
- Download
get-pip.py
.- Run
python get-pip.py
in a shell.
Note
The installation commands described in this page might require sudo
privileges to run successfully.
System-Wide Installation¶
Installing globally the most recent version of Revl can be done with pip
:
$ pip install revl
Or using easy_install
(provided with setuptools
):
$ easy_install revl
Development Version¶
To stay cutting edge with the latest development progresses, it is possible to directly retrieve the source from the repository with the help of Git:
$ git clone https://github.com/christophercrouzet/revl.git
$ cd revl
$ pip install --editable .[dev]
Note
The [dev]
part installs additional dependencies required to assist
development on Revl.
[1] | See the Python Packaging User Guide |