Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python lec2, install #169

Merged
merged 14 commits into from
Sep 27, 2021
Merged

Python lec2, install #169

merged 14 commits into from
Sep 27, 2021

Conversation

stalkermustang
Copy link
Collaborator

last lec sheeeeesh

@stalkermustang stalkermustang changed the title Python lec2, install [WIP] Python lec2, install Sep 20, 2021
@stalkermustang stalkermustang changed the title [WIP] Python lec2, install Python lec2, install Sep 20, 2021
@stalkermustang stalkermustang linked an issue Sep 20, 2021 that may be closed by this pull request
11 tasks
В этом блоке мы сделаем две вещи: соберем книгу и установим на ваш компьютер все необходимое для прохождения курса, от `Python` и его библиотек до специальных программ, которые занимаются отслеживанием этих самых библиотек. Буквально после пары строк на вашем компьютере появится сотня библиотек, которым ми хвастались в первой лекции -- они позволят как проводить математические расчеты, так и писать программы для квантовых компьютеров. Итак, дальнейшие шаги зависят от вашей операционной системы:

### Инструкция для Windows
todo, ждем Диму, будет или нет автоматизация
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

тогда ждем @dkorzhov

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Добавил PR #170 Для установки использую пакетный менеджер chocolate. Сначала надо установить этот пакетный менеджер. Для этого запустить файл в powershell (ChocolateyInstallNonAdmin.ps1). Затем выполнить команду choco install make curl miniconda3. Затем make install-windows и make build-windows.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dkorzhov обновил, проверь пж корректность инструкции. Я часть у себя воспроизвел, но не могу end2end в силу некоторых ограничений (да и сисема не чистая с нуля).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dkorzhov можешь посмотреть по win части, все ли норм, а то пора лить в master и покончить с блоком о python

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vtrokhymenko @stalkermustang Ссори, что поздно отвечаю. Посмотрел, все норм. Единственное, можно было сократить путь студентам, так как файл ps1 со скриптом сейчас в PR#170, предполагалось, что они его просто запустят.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

а, кек, я его видел в make-файле для билда, но подумал, что он может быть какой-то специальный для гита и actions, и не стал на него ссылаться.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@stalkermustang можешь переделать эту часть в лекции если хочешь, не проблема, создав новый pr

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Та нет, кажется так норм, не будем зависеть от гитэкшнс. Уж скопировать файл, надеюсь, люди смогу

make install-macOS-latest && make build
```

Если вам интересно, то первая установит `Python`, `poetry` - это еще один менеджер, который отвечает за управление библиотеками `Python` и их версиями, и, наконец, сами библиотеки, необходимые для прохождения курса.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Для MacOS там нет установки python. Я ее убрал, но верну чуть позже. Пока можно оставить текст. И можно наверное добавить раздел с требованиями к компу, где указать какие пакеты должны быть, если кто-то захочет установить вручную.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Хз, я бы так не делал. Если очень умные - сами найдут poetry.lock, если нет, и им нужна инструкция - она вот, зачем усложнять? У них (студентов) и без того жизнь нелегкая..

@vvssttkk vvssttkk removed a link to an issue Sep 24, 2021
11 tasks
@vvssttkk vvssttkk linked an issue Sep 24, 2021 that may be closed by this pull request
@vvssttkk vvssttkk self-requested a review September 27, 2021 12:38
@stalkermustang
Copy link
Collaborator Author

все? мерджим?

@vvssttkk vvssttkk merged commit 29dd865 into master Sep 27, 2021
@vvssttkk vvssttkk deleted the stalkermustang-python-lec2-install branch September 27, 2021 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

python_lec_2: Установка инструментов
4 participants