Skip to content

Commit f0867e4

Browse files
authored
Changes according to SME review
1 parent 5cb5bd5 commit f0867e4

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

source/advanced-topics.adoc

+10-5
Original file line numberDiff line numberDiff line change
@@ -1215,11 +1215,11 @@ LANG=en_US.utf8 %{__python} setup.py test <6>
12151215
----
12161216

12171217
<1> The name of this package in PyPI is setuptools, in RPM this package has specification "python" in its name.
1218-
<2> BuildRequires specifies which version of Python is used to build a package.
1218+
<2> BuildRequires specifies what packages are required to to build this package.
12191219
<3> BuildRequires specifies which Python module package python-setuptools requires.
1220-
<4> Without this expression the package might not be possible to build if the package has a C extension. `%{__python} setup.py build` Is similar to make build. Allows to easily build Python packages.
1220+
<4> Without this expression the package might not be possible to build if the package has a C extension. `%{__python} setup.py build` Is similar to make build. Allows to build Python packages.
12211221
<5> The setup.py install is similar to make install. On this line, setup.py install would suffice because it builds and installs the package, but for keeping an RPM standard the package is build with setup.py build and installed with the --skip-build option.
1222-
<6> Tests vary depending on a particular project. However tests require locale. In RHEL it has to be specified on LANG=en_US.utf8.
1222+
<6> Tests vary depending on a particular project. However in RHEL locale has to be specified on LANG=en_US.utf8.
12231223

12241224
endif::rhel[]
12251225

@@ -1248,12 +1248,17 @@ ifdef::rhel[]
12481248
|Python 2 interpreter
12491249

12501250
|python_sitelib
1251-
|/usr/lib/python.X/site-packages
1251+
|/usr/lib/python.X.Y/site-packages
12521252
|Where pure python modules are installed
12531253

12541254
|python_version
12551255
|2.X
1256-
|Defined in python-devel. Useful when running programs with Python version in filename.
1256+
|Defined in python-devel. Useful when running programs with Python version in filename
1257+
1258+
|python_sitearch
1259+
|/usr/lib64/python2.X/site-packages on 64-bit AMD or Intel processor, /usr/lib/python2.X/site-packages on a 32-bit AMD or Intel processor
1260+
| Where python2 extension modules that are compiled C are installed
1261+
12571262
|===
12581263

12591264
endif::rhel[]

0 commit comments

Comments
 (0)