- Timestamp:
- 05/21/2019 04:19:04 PM (5 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 9.0, 9.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- e399c12
- Parents:
- a42c273
- Location:
- general/prog
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/dbus-python.xml
ra42c273 r77deb22e 118 118 <screen><userinput>mkdir python2 && 119 119 pushd python2 && 120 PYTHON=/usr/bin/python \120 PYTHON=/usr/bin/python2 \ 121 121 ../configure --prefix=/usr --docdir=/usr/share/doc/dbus-python-&dbus-python-version; && 122 122 make && -
general/prog/jinja2.xml
ra42c273 r77deb22e 97 97 </para> 98 98 99 <screen role="root"><userinput>python setup.py install --optimize=1</userinput></screen>99 <screen role="root"><userinput>python2 setup.py install --optimize=1</userinput></screen> 100 100 101 101 <para> -
general/prog/libxml2py2.xml
ra42c273 r77deb22e 99 99 100 100 <screen><userinput>cd python && 101 python setup.py build</userinput></screen>101 python2 setup.py build</userinput></screen> 102 102 103 103 <para> … … 107 107 </para> 108 108 109 <screen role="root"><userinput>python setup.py install --optimize=1</userinput></screen>109 <screen role="root"><userinput>python2 setup.py install --optimize=1</userinput></screen> 110 110 111 111 </sect3> -
general/prog/lxml.xml
ra42c273 r77deb22e 105 105 106 106 <para> 107 To build the <application>Python 2</application> module, run: 107 To build both <application>Python 2</application> and 108 <application>Python 3</application> modules, run: 108 109 </para> 109 110 110 <screen><userinput>python setup.py build</userinput></screen> 111 <screen><userinput>python2 setup.py build && 112 python3 setup.py build</userinput></screen> 111 113 112 114 <para> 113 If you wish to run the tests, enter: <command>make test</command>. 115 If you wish to run the tests, enter: 116 <command>make PYTHON=python2 test</command> and 117 <command>make PYTHON=python3 test</command>. 114 118 This will rebuild the package for inplace use before running the tests. 115 119 One or more tests sometimes fail. … … 117 121 118 122 <para> 119 To install the <application>Python 2</application> module, 120 as the 121 <systemitem class="username">root</systemitem> user run: 123 To install both modules, issue the following commands as the 124 <systemitem class="username">root</systemitem> user: 122 125 </para> 123 126 124 <screen role="root"><userinput>python setup.py install --optimize=1</userinput></screen> 125 126 <para> 127 To build the <application>Python 3</application> module, run: 128 </para> 129 130 <screen><userinput>python3 setup.py clean && 131 python3 setup.py build</userinput></screen> 132 133 <para> 134 If you wish to run the tests, enter: <command>make PYTHON=python3 135 test</command>. This will rebuild the package for inplace use before 136 running the tests. One or more tests sometimes fail. 137 </para> 138 139 <para> 140 To install the <application>Python 3</application> module, 141 as the 142 <systemitem class="username">root</systemitem> user run: 143 </para> 144 145 <screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen> 127 <screen role="root"><userinput>python2 setup.py install --optimize=1 && 128 python3 setup.py install --optimize=1</userinput></screen> 146 129 147 130 </sect3> -
general/prog/mako.xml
ra42c273 r77deb22e 99 99 </para> 100 100 101 <screen role="root"><userinput>python setup.py install - -optimize=1</userinput></screen>101 <screen role="root"><userinput>python2 setup.py install - -optimize=1</userinput></screen> 102 102 --> 103 103 <para> -
general/prog/pycairo.xml
ra42c273 r77deb22e 95 95 96 96 <para> 97 Install <application>PyCairo</application> for Python2 by running98 the following commands:97 Install <application>PyCairo</application> for Python2 and Python3 by 98 running the following commands: 99 99 </para> 100 100 101 <screen><userinput>python2 setup.py build</userinput></screen> 101 <screen><userinput>python2 setup.py build && 102 python3 setup.py build</userinput></screen> 102 103 103 104 <para> … … 109 110 </para> 110 111 111 <screen role="root"><userinput>python2 setup.py install --optimize=1 && 112 <screen role="root"><userinput>python2 setup.py install --optimize=1 && 113 python3 setup.py install --optimize=1</userinput></screen> 114 <!-- Seems that install does the following too 112 115 python2 setup.py install_pycairo_header && 113 python2 setup.py install_pkgconfig</userinput></screen> 114 115 <para> 116 Install <application>PyCairo</application> for Python3 by running 117 the following commands: 118 </para> 119 120 <screen><userinput>python3 setup.py build</userinput></screen> 121 122 <para> 123 This package does not come with a test suite. 124 </para> 125 126 <para> 127 Now, as the <systemitem class="username">root</systemitem> user: 128 </para> 129 130 <screen role="root"><userinput>python3 setup.py install --optimize=1 && 131 python3 setup.py install_pycairo_header && 132 python3 setup.py install_pkgconfig</userinput></screen> 116 python2 setup.py install_pkgconfig</userinput></screen>--> 133 117 134 118 </sect3> -
general/prog/pycrypto.xml
ra42c273 r77deb22e 93 93 94 94 <para> 95 To build the <application>Python 2</application> module,96 run the following command:95 To build the <application>Python 2</application> and 96 <application>Python 3</application> modules, run the following commands: 97 97 </para> 98 98 99 <screen><userinput>python setup.py build</userinput></screen> 99 <screen><userinput>python2 setup.py build && 100 python3 setup.py build</userinput></screen> 100 101 101 102 <para> 102 To install the <application>Python 2</application> module, 103 run the following command as the 103 To install both modules, run the following commands as the 104 104 <systemitem class="username">root</systemitem> user: 105 105 </para> 106 106 107 <screen role="root"><userinput>python setup.py install --optimize=1</userinput></screen> 108 109 <para> 110 To build the <application>Python 3</application> module, 111 run the following command: 112 </para> 113 114 <screen><userinput>python3 setup.py build</userinput></screen> 115 116 <para> 117 To install the <application>Python 3</application> module, 118 run the following command as the 119 <systemitem class="username">root</systemitem> user: 120 </para> 121 122 <screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen> 107 <screen role="root"><userinput>python2 setup.py install --optimize=1 && 108 python3 setup.py install --optimize=1</userinput></screen> 123 109 124 110 </sect3> … … 137 123 </seg> 138 124 <seg> 139 pycrypto-&pycrypto-version;-py 2.7.egg-info and/or140 pycrypto-&pycrypto-version;-py 3.6.egg-info125 pycrypto-&pycrypto-version;-py&python2-majorver;.egg-info and/or 126 pycrypto-&pycrypto-version;-py&python3-majorver;.egg-info 141 127 </seg> 142 128 <seg> -
general/prog/pyyaml.xml
ra42c273 r77deb22e 97 97 98 98 <para> 99 To build the <application>Python 2</application> module, 100 run the following command: 99 To build both <application>Python 2</application> and 100 <application>Python 3</application> modules, 101 run the following commands: 101 102 </para> 102 103 103 <screen><userinput>python setup.py build</userinput></screen> 104 <screen><userinput>python2 setup.py build && 105 python3 setup.py build</userinput></screen> 104 106 105 107 <para> 106 To install the <application>Python 2</application> module, 107 run the following command as the 108 To install both modules, run the following commands as the 108 109 <systemitem class="username">root</systemitem> user: 109 110 </para> 110 111 111 <screen role="root"><userinput>python setup.py install --optimize=1</userinput></screen> 112 113 <para> 114 To build the <application>Python 3</application> module, 115 run the following command: 116 </para> 117 118 <screen><userinput>python3 setup.py build</userinput></screen> 119 120 <para> 121 To install the <application>Python 3</application> module, 122 run the following command as the 123 <systemitem class="username">root</systemitem> user: 124 </para> 125 126 <screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen> 112 <screen role="root"><userinput>python2 setup.py install --optimize=1 && 113 python3 setup.py install --optimize=1</userinput></screen> 127 114 128 115 </sect3> -
general/prog/scour.xml
ra42c273 r77deb22e 107 107 108 108 <para> 109 To build the <application>Python 2</application> module, 110 run the following command: 109 To build both <application>Python 2</application> and 110 <application>Python 3</application> modules, 111 run the following commands: 111 112 </para> 112 113 113 <screen><userinput>python setup.py build</userinput></screen> 114 <screen><userinput>python2 setup.py build && 115 python3 setup.py build</userinput></screen> 114 116 115 117 <para> 116 To partially test the results, issue: <command>python testcss.py</command>.118 To partially test the results, issue: <command>python2 testcss.py</command>. 117 119 If you have installed <application>Six</application> you can run the main 118 tests by issuing: <command>python testscour.py</command>.120 tests by issuing: <command>python2 testscour.py</command>. 119 121 </para> 120 122 121 123 <para> 122 To install the <application>Python 2</application> module 123 run the following command as the 124 To install both modules, run the following command as the 124 125 <systemitem class="username">root</systemitem> user: 125 126 </para> 126 127 127 <screen role="root"><userinput>python setup.py install --optimize=1</userinput></screen> 128 129 <para> 130 To build the <application>Python 3</application> module, 131 run the following command: 132 </para> 133 134 <screen><userinput>python3 setup.py build</userinput></screen> 135 136 <para> 137 To install the <application>Python 3</application> module, 138 run the following command as the 139 <systemitem class="username">root</systemitem> user: 140 </para> 141 142 <screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen> 128 <screen role="root"><userinput>python2 setup.py install --optimize=1 && 129 python3 setup.py install --optimize=1</userinput></screen> 143 130 144 131 </sect3> -
general/prog/six.xml
ra42c273 r77deb22e 90 90 91 91 <para> 92 Install <application>six</application> for Python 2 by running93 the following commands:92 Install <application>six</application> for Python 2 and Python 3 93 by running the following commands: 94 94 </para> 95 95 96 <screen><userinput>python2 setup.py build</userinput></screen> 96 <screen><userinput>python2 setup.py build && 97 python3 setup.py build</userinput></screen> 97 98 98 99 <para> … … 104 105 </para> 105 106 106 <screen role="root"><userinput>python2 setup.py install --optimize=1</userinput></screen> 107 108 <para> 109 Install <application>six</application> for Python3 by running 110 the following commands: 111 </para> 112 113 <screen><userinput>python3 setup.py build</userinput></screen> 114 115 <para> 116 This package does not come with a test suite. 117 </para> 118 119 <para> 120 Now, as the <systemitem class="username">root</systemitem> user: 121 </para> 122 123 <screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen> 107 <screen role="root"><userinput>python2 setup.py install --optimize=1 && 108 python3 setup.py install --optimize=1</userinput></screen> 124 109 125 110 </sect3>
Note:
See TracChangeset
for help on using the changeset viewer.