Skip to content

Commit

Permalink
Обновлено: Python
Browse files Browse the repository at this point in the history
  • Loading branch information
fiersik committed Jan 23, 2024
1 parent fb4afe5 commit e951a8b
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions docs/developers/python.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ epm -i gcc-c++ zlib-devel libssl-devel libsqlite3-devel libffi-devel

## Установка из исходного кода

устанавливаем и разархивируем исходный код с официального сайта:
### Устанавливаем и разархивируем исходный код с официального сайта:

```shell
cd ~/Загрузки
Expand All @@ -35,7 +35,7 @@ tar zxvf Python-VERSION.tgz
| 3.10.13 |
| 3.9.18 |

Собираем Python:
### Собираем Python:

```shell
su -
Expand All @@ -57,7 +57,7 @@ rm -rf /home/USER/Загрузки/Python-VERSION
При сборке Python в собственную директорию, необходимо добавить её в переменную PATH.
:::

устанавливаем pip:
### Устанавливаем pip:

::: code-group

Expand All @@ -71,17 +71,15 @@ epm -i pip
```
:::

## Следующие действия выполнены на примере python3.10

## Использование venv

переходим в папку проекта:
### Переходим в папку проекта:

```shell
cd /path/to/project/
```

Создаём окружение и обновляем pip:
### Создаём окружение и обновляем pip:

```shell
python3.10 -m venv venv
Expand Down

0 comments on commit e951a8b

Please sign in to comment.