blob: 0080a367e0dc835fa4e34a1d8ad86148bb43b259 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
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
|