Installation on Windows¶
Это руководство покрывает следующие темы:
Установка Python (используется для «преобразования» исходных файлов в HTML)
Установка Python¶
Download the Python installation package for Windows. In this guide version 3.6.x is used.
Install Python with the installation wizard. Please make sure that you enable the «Add Python to PATH» option:
All other settings can remain as set by default.
Installing SVN and Downloading the Repository¶
In this guide, we will use TortoiseSVN though any Subversion client will do.
Download TortoiseSVN for Windows.
Install TortoiseSVN with the installation wizard. When choosing which features will be installed, it is recommended that you enable command line client tools to give you access to SVN from the command line (there is no harm in doing this, and it may be helpful if you ever run into any trouble).
Once the installation has finished, create a new folder that will contain everything related to the Blender Manual. In this guide, we will use
C:\blender_docs
.Open the new folder, right-click and choose SVN Checkout… from the context menu.
In the URL of repository field, enter:
https://svn.blender.org/svnroot/bf-manual/trunk/blender_docs
.In the Checkout directory field, enter:
C:\blender_docs
.Click OK – the repository will now be downloaded which may take a few minutes depending on your internet connection.
Установка окружения сборки¶
Open a Command Prompt. (Run as Administrator)
Enter the
blender_docs
folder which was just added by the SVN checkout:cd C:\blender_docs
Inside that folder is a file called
requirements.txt
which contains a list of all the dependencies we need. Install all the dependencies using Python’spip
command:pip install -r requirements.txt
If all goes well, you should see the following message when it is finished:
Successfully installed Jinja2 MarkupSafe Pygments Sphinx docutils sphinx-rtd-theme Cleaning up...
Во время установки могут показываться некоторые предупреждения, не следует о них беспокоиться. Однако, если возникнут ошибки, они могут вызвать проблемы.
Примечание
Теперь, каждый раз, если вы захотите убедиться, что ваши зависимости актуальны, вам следует выполнять команду:
pip install -r requirements.txt --upgrade --upgrade-strategy eager
Continue with the next step: Building.