Changeset 5e8edab5 for general/prog/lxml.xml
- Timestamp:
- 05/24/2019 02:26:17 AM (5 years ago)
- Branches:
- elogind
- Children:
- 8eebfaa5
- Parents:
- 215c728b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/lxml.xml
r215c728b r5e8edab5 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>
Note:
See TracChangeset
for help on using the changeset viewer.