Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 custom
Octocat-spinner-32 debian
Octocat-spinner-32 doc
Octocat-spinner-32 sipgen
Octocat-spinner-32 siplib
Octocat-spinner-32 specs
Octocat-spinner-32 sphinx
Octocat-spinner-32 LICENSE
Octocat-spinner-32 LICENSE-GPL2
Octocat-spinner-32 LICENSE-GPL3
Octocat-spinner-32 NEWS
Octocat-spinner-32 README
Octocat-spinner-32 configure.py
Octocat-spinner-32 sipdistutils.py
Octocat-spinner-32 siputils.py
README
SIP - C/C++ Bindings Generator for Python v2 and v3
===================================================

The SIP documentation (including installation instructions) can be found in the
``doc`` directory.


Building from the Mercurial Repository
--------------------------------------

If you are using a copy of SIP cloned from the Mercurial repository, or are
using a Mercurial archive, then you have to prepare it first before you follow
the normal installation instructions.

The preparation is done using the ``build.py`` script which can be found in the
same directory as this ``README`` file.  If it isn't there then you probably
have a packaged release and should just follow the normal installation
instructions.

The ``build.py`` script requires that ``flex`` and ``bison``, and the Mercurial
Python bindings are installed.  If you want to create the HTML documentation
then Sphinx must also be installed.

To prepare run the following::

    python build.py prepare

Note that ``build.py`` is a Python v2 script.

Now you can follow the normal installation instructions.

The ``build.py`` script has other useful commands, use the ``--help`` option to
see the details.
Something went wrong with that request. Please try again.