Просмотр исходного кода

Update sandbox.rst

Use the same option in the virtualenv command as the mkvirtualenv command uses.
apt-get is nowadays shortened to apt.
master
Roger Erens 6 лет назад
Родитель
Сommit
d2da32072c
Аккаунт пользователя с таким Email не найден
1 измененных файлов: 2 добавлений и 2 удалений
  1. 2
    2
      docs/source/internals/sandbox.rst

+ 2
- 2
docs/source/internals/sandbox.rst Просмотреть файл

@@ -55,7 +55,7 @@ play around with Oscar.
55 55
 In order to compile uWSGI, which is a dependency of the sandbox, you will
56 56
 first need to install the Python development headers with:::
57 57
 
58
-    $ sudo apt-get install python3-dev
58
+    $ sudo apt install python3-dev
59 59
 
60 60
 Install Oscar and its dependencies within a virtualenv:
61 61
 
@@ -79,7 +79,7 @@ If you do not have ``mkvirtualenv``, then replace that line with:
79 79
 
80 80
 .. code-block:: bash
81 81
 
82
-    $ virtualenv oscar
82
+    $ virtualenv --python=python3 oscar
83 83
     $ source ./oscar/bin/activate
84 84
     (oscar) $
85 85
 

Загрузка…
Отмена
Сохранить