Changeset d60cd837 for general/prog/pygobject3.xml
- Timestamp:
- 02/03/2019 06:37:53 PM (5 years ago)
- Branches:
- elogind
- Children:
- 4d176c4f
- Parents:
- 8f6f10e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/pygobject3.xml
r8f6f10e rd60cd837 9 9 <!ENTITY pygobject3-download-ftp 10 10 "&gnome-download-ftp;/pygobject/&gnome-minor-30;/pygobject-&pygobject3-version;.tar.xz"> 11 <!ENTITY pygobject3-md5sum " 77ba5f41a00d5c0cc22962a475f8de67">12 <!ENTITY pygobject3-size "5 40KB">13 <!ENTITY pygobject3-buildsize " 26 MB (both modules, with tests)">14 <!ENTITY pygobject3-time "0. 3 SBU (both modules, with tests)">11 <!ENTITY pygobject3-md5sum "d42f8ec30faa76a25f7d0afc88b4d822"> 12 <!ENTITY pygobject3-size "533 KB"> 13 <!ENTITY pygobject3-buildsize "14 MB"> 14 <!ENTITY pygobject3-time "0.1 SBU"> 15 15 ]> 16 16 … … 75 75 <xref linkend="gobject-introspection"/> and 76 76 <xref linkend="pycairo"/> 77 (for <application>Python 2</application> and/or 78 <application>Python 3</application> bindings) 77 (<application>Python 3</application> module) 79 78 </para> 80 79 81 80 <bridgehead renderas="sect5">Optional (for the tests)</bridgehead> 82 81 <para role="optional"> 82 <xref linkend="python2"/>, 83 83 <ulink url="https://pypi.python.org/pypi/pep8">pep8</ulink>, 84 84 <ulink url="https://pypi.python.org/pypi/pyflakes">pyflakes</ulink>, and … … 95 95 <title>Installation of PyGObject3</title> 96 96 97 <note>98 <para>99 Both <application>Python 2</application> and100 <application>Python 3</application> modules can101 be built and installed without any conflicts.102 </para>103 </note>104 105 97 <para> 106 To build <application>PyGObject3</application> as the107 <application>Python 2</application> module, run the98 To build <application>PyGObject3</application> as a 99 <application>Python 3</application> module, run the 108 100 following commands: 109 101 </para> 110 102 111 <screen><userinput>mkdir python2 && 112 pushd python2 && 113 meson --prefix=/usr -Dpython=python2 .. && 114 ninja && 115 popd</userinput></screen> 103 <screen><userinput>mkdir build && 104 cd build && 105 meson --prefix=/usr -Dpython=python3 && 106 ninja</userinput></screen> 116 107 117 108 <para> 118 To test the results, issue: <command>ninja -C python2test</command>.109 To test the results, issue: <command>ninja test</command>. 119 110 An already active graphical session with bus address is necessary to 120 111 run the tests. … … 122 113 123 114 <para> 124 To build <application>PyGObject3</application> as the 125 <application>Python 3</application> module, run the 126 following commands: 127 </para> 128 129 <screen><userinput>mkdir python3 && 130 pushd python3 && 131 meson --prefix=/usr -Dpython=python3 && 132 ninja && 133 popd</userinput></screen> 134 135 <para> 136 To test the results, issue: <command>ninja -C python3 test</command>. 137 An already active graphical session with bus address is necessary to 138 run the tests. 139 </para> 140 141 <para> 142 To install the <application>Python 2</application> module, 143 run the following command as the 115 To install the module, run the following command as the 144 116 <systemitem class="username">root</systemitem> user: 145 117 </para> 146 118 147 <screen role="root"><userinput>ninja -C python2 install</userinput></screen> 148 149 <para> 150 To install the <application>Python 3</application> module, 151 run the following command as the 152 <systemitem class="username">root</systemitem> user: 153 </para> 154 155 <screen role="root"><userinput>ninja -C python3 install</userinput></screen> 119 <screen role="root"><userinput>ninja install</userinput></screen> 156 120 157 121 </sect3> … … 170 134 </seg> 171 135 <seg> 172 /usr/lib/python&python2-majorver;/site-packages/gi/_gi{,_cairo}.so 173 and/or 174 /usr/lib/python&python3-majorver;/site-packages/gi/_gi{,_cairo}.cpython-35m-<arch>-linux-gnu.so 136 /usr/lib/python&python3-majorver;/site-packages/gi/_gi{,_cairo}.cpython-37m-<arch>-linux-gnu.so 175 137 </seg> 176 138 <seg> 177 139 /usr/include/pygobject-3.0, and 178 /usr/lib/python&python2-majorver;/site-packages/{gi,pygtkcompat} and/or179 140 /usr/lib/python&python3-majorver;/site-packages/{gi,pygtkcompat} 180 141 </seg>
Note:
See TracChangeset
for help on using the changeset viewer.