Install

piecutter is open-source software, published under BSD license. See License for details.

If you want to install a development environment, you should go to Contributing documentation.

Prerequisites

As a library

In most cases, you will use piecutter as a dependency of another project. In such a case, you should add piecutter in your main project’s requirements. Typically in setup.py:

from setuptools import setup

setup(
    install_requires=[
        'piecutter',
        #...
    ]
    # ...
)

Then when you install your main project with your favorite package manager (like pip [2]), piecutter will automatically installed.

Standalone

You can install piecutter with your favorite Python package manager. As an example with pip [2]:

pip install piecutter

Check

Check piecutter has been installed:

python -c "import piecutter;print(piecutter.__version__)"

You should get piecutter‘s version.

References

[1]http://python.org
[2](1, 2) https://pypi.python.org/pypi/pip/