diff options
author | Roman Lacko <backup.rlacko@gmail.com> | 2014-05-14 00:30:43 +0200 |
---|---|---|
committer | Roman Lacko <backup.rlacko@gmail.com> | 2014-05-14 00:30:43 +0200 |
commit | e63edfc9d4a1fd9703c9c3ec02ee460d24109b60 (patch) | |
tree | 3ba2514b7268106d2e238d8d1abe2a86a0e751bd /docs/building/options.rst | |
parent | a9a0f27bb22a8a96f26358e49cc08f5046b350f3 (diff) |
Refactoring docs/index.rst into separate rst files
Diffstat (limited to 'docs/building/options.rst')
-rw-r--r-- | docs/building/options.rst | 101 |
1 files changed, 101 insertions, 0 deletions
diff --git a/docs/building/options.rst b/docs/building/options.rst new file mode 100644 index 000000000..0080a367e --- /dev/null +++ b/docs/building/options.rst @@ -0,0 +1,101 @@ +.. _building_options: + +PySide Setup Script command line options +======================================== + +.. contents:: :local: + +Usage on a Windows System +------------------------- + +:: + + c:\> c:\Python27\python.exe setup.py [distribution_type] [options] + +Usage on a Linux/Mac OS X System +-------------------------------- + +:: + + python2.7 setup.py [distribution_type] [options] + + +Distribution types +------------------ + +``bdist_wheel`` + Create a wheel binary distribution. + This distribution type can be installed with ``pip``. + +``bdist_egg`` + Create an egg binary distribution. + This distribution type can be installed with ``easy_install``. + +``bdist_wininst`` + Create a standalone windows installer with embedded Qt libs and development tools. + This distribution type can be installed with ``easy_install``. + +``install`` + Install package to site packages folder. + +``develop`` + Install package in ``development mode``, such that it's available on + ``sys.path``, yet can still be edited directly from its source folder. + +``sdist`` + Create a full source distribution with included sources of PySide Setup Scripts, + PySide, Shiboken, PySide Tools and PySide Examples. + Can be used to build binary distribution in offline mode. + +Options +------- + +``--qmake`` + Specify the path to qmake. + Useful when the qmake is not in path or more than one Qt versions are installed. + +``--openssl`` + Specify the path to OpenSSL libs. + +``--only-package`` + Skip rebuilding everything and create distribution from prebuilt binaries. + Before using this option first time, the full distribution build is required. + +``--cmake`` + Specify the path to cmake. + Useful when the cmake is not in path. + +``--standalone`` + When enabled, all required Qt libs will be included in PySide distribution. + This option is allways enabled on Windows. + On Linux it's disabled by default. + + .. note:: + + This option does not work on Mac OS X, yet. + +``--version`` + Specify what version of PySide distribution to build. + This option is available only when the setup scripts are cloned from git repository. + +``--list-versions`` + List available versions of PySide distributions. + +``--ignore-git`` + Don't pull sources from git repository. + +``--make-spec`` + Specify the cmake makefile generator type. + Available values are ``msvc`` on Windows and ``make`` on Linux/Mac OS X. + +``--no-examples`` + Don't include PySide examples in PySide distribution + +``--jobs`` + Specify the number of parallel build jobs + +``--jom`` + Use `jom <http://qt-project.org/wiki/jom>`_ instead of nmake with msvc + +``--build-tests`` + Enable building the tests |