mirror of
https://git.rtems.org/rtems-docs/
synced 2025-10-17 22:15:06 +08:00
Add virtualenv to the README.txt as the preferred host support.
This commit is contained in:
22
README.txt
22
README.txt
@@ -101,6 +101,26 @@ command.
|
||||
|
||||
Please add your host as you set it up.
|
||||
|
||||
The best environment to use is `virtualenv`. It can create a specific python
|
||||
environment using `pip`.
|
||||
|
||||
Virtualenv
|
||||
~~~~~~~~~~
|
||||
|
||||
Create a directory to house the virtualenv, create the envrionment and the
|
||||
activate it:
|
||||
|
||||
$ mkdir sphinx
|
||||
$ virtualenv sphinx
|
||||
$ . ./sphinx/bin/activate
|
||||
|
||||
The prompt will now change. You can install Sphinx with:
|
||||
|
||||
$ pip install sphinx
|
||||
$ pip install sphinxcontrib-bibtex
|
||||
|
||||
When you have finished you enter `deactivate`.
|
||||
|
||||
Sphinx Per User Install
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
@@ -190,7 +210,7 @@ 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,
|
||||
software. As root,
|
||||
|
||||
# yum install centos-release-scl
|
||||
# yum install rh-python36
|
||||
|
Reference in New Issue
Block a user