mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
doc updates
This commit is contained in:
parent
c42325cb49
commit
61bf2f80eb
2 changed files with 14 additions and 5 deletions
|
@ -26,6 +26,9 @@ $ pyenv/bin/python -c 'import aqt; aqt.run()'
|
|||
|
||||
From Anki 2.1.36 onwards:
|
||||
|
||||
- Make sure your pip version is 20 or later (pip install --upgrade pip).
|
||||
- Then:
|
||||
|
||||
```
|
||||
$ python -m venv pyenv
|
||||
$ pyenv/bin/pip install aqt anki pyqtwebengine
|
||||
|
@ -81,6 +84,9 @@ bazel build -c opt //pylib/anki:wheel
|
|||
bazel build -c opt //qt/aqt:wheel
|
||||
```
|
||||
|
||||
The generated wheel paths will be printed as the build completes. To install
|
||||
them, see earlier in this document.
|
||||
|
||||
## Tracing build problems
|
||||
|
||||
You can run bazel with '-s' to print the commands that are being executed.
|
||||
|
|
|
@ -10,8 +10,10 @@ The build system requires [Developer Mode](https://docs.microsoft.com/en-us/wind
|
|||
|
||||
**Visual Studio**:
|
||||
|
||||
Either the normal Visual Studio or just the [build tools](https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2019) should work. Make sure the C++ compiler and Windows 10 SDK are selected - they should be on
|
||||
by default.
|
||||
Isntall the [Visual Studio build tools](https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2019).
|
||||
|
||||
Make sure the "C++ build tools" box is selected, and leave the default optional
|
||||
components enabled on the right.
|
||||
|
||||
**Python 3.8**:
|
||||
|
||||
|
@ -20,14 +22,15 @@ customize the installation. Select "install for all users", and choose
|
|||
the install path as c:\python. Currently the build scripts require
|
||||
Python to be installed in that location.
|
||||
|
||||
When the install is done, click on the "remove the path limit" button.
|
||||
|
||||
**MSYS**:
|
||||
|
||||
Install [msys](https://www.msys2.org/) into the default folder location.
|
||||
Install [msys2](https://www.msys2.org/) into the default folder location.
|
||||
|
||||
After installation completes, run msys, and run the following commands:
|
||||
After installation completes, run msys2, and run the following command:
|
||||
|
||||
```
|
||||
$ pacman -Syu
|
||||
$ pacman -S git gettext
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue