mirror of
https://git.rtems.org/rtems-docs/
synced 2025-06-06 07:08:50 +08:00
README.txt: Add info on CentOS 7 Software Collections for Python 3
This commit is contained in:
parent
4e9197ae0b
commit
5d72d63ca1
26
README.txt
26
README.txt
@ -181,11 +181,31 @@ Ditaa:
|
||||
|
||||
# pkg install ditaa
|
||||
|
||||
CentOS 6 and 7
|
||||
~~~~~~~~~~~~~~
|
||||
CentOS 7
|
||||
~~~~~~~~
|
||||
|
||||
PDF Quality: production
|
||||
|
||||
Python 3:
|
||||
|
||||
By default, CentOS 7 has Python 2.x. Luckily they now have Software
|
||||
Collections which lets you install and use a "collection" of newer
|
||||
software. As root,
|
||||
|
||||
# yum install centos-release-scl
|
||||
# yum install rh-python36
|
||||
|
||||
Then you can create your own virtual Python environment
|
||||
for use with the Sphinx toolchain.
|
||||
|
||||
$ cd ~
|
||||
$ python -m venv rtemsdocs
|
||||
|
||||
When you want to use the Sphinx toolchain.
|
||||
|
||||
$ scl enable rh-python36 bash
|
||||
$ source ~/rtemsdocs/bin/activate
|
||||
|
||||
Sphinx:
|
||||
|
||||
$ pip install -U sphinx
|
||||
@ -212,6 +232,8 @@ PDF:
|
||||
NOTE: The year (2016) and host OS (i386-linux) will change to
|
||||
reflect 32 or 64 bit and OS name.
|
||||
|
||||
You will also likely need to install the aspell RPM.
|
||||
|
||||
Single HTML:
|
||||
|
||||
NOTE: npm appears to be part of the EPEL repository for RHEL and CentOS.
|
||||
|
Loading…
x
Reference in New Issue
Block a user