Project

General

Profile

BuildAnubisFromSourcesWindow710 » History » Version 10

Jérémy Larrieu, 12/30/2019 09:11 PM

1 1 Jérémy Larrieu
h1. BuildAnubisFromSourcesWindow710
2
3
h2. Requirements
4
5
First of all, you'll need to install these requirements:
6
* MSYS2
7 7 Jérémy Larrieu
* Python 3.8
8 1 Jérémy Larrieu
* SCons
9 2 Jérémy Larrieu
10
h3. MSYS2 installation.
11
12 4 Jérémy Larrieu
Download MSYS2 installer on http://www.msys2.org/:
13 2 Jérémy Larrieu
* 32bits installer for Windows 7/10 32bits
14
* 64bits installer for Windows 7/10 64bits
15 6 Jérémy Larrieu
16
Install MSYS2 with the downloaded installer.
17
18
Run the *MSYS2 MinGW 32-bit* terminal and run this command to update your installation:
19
<pre>
20
pacman -Syuu
21
</pre>
22
23 1 Jérémy Larrieu
Close the terminal and repeat the update process until there are no more update available.
24 7 Jérémy Larrieu
25
h3. Python 3.8 installation
26
27
Download the Python 3.8 installer on http://www.python.org website and launch it to install it.
28
29
On first screen, you have to check the *Add Python 3.8 to PATH* checkbox
30 8 Jérémy Larrieu
Select *Install Now* to launch installation.
31
It will be installed inside the user profile. It will be useful when using *pip*: it will not require launching terminal or commands in admin mode.
32 7 Jérémy Larrieu
33 9 Jérémy Larrieu
h3. Modify MSYS2 PATH environment variable
34
35
To be able to use *SCons*, *Python* or *pip* in MSYS2 terminal, you have to create the following environment variable:
36
*  Type: USER Variable
37
* Name: MSYS2_PATH_TYPE
38
* Value: inherit
39
40 7 Jérémy Larrieu
h3. SCons installation.
41
42 10 Jérémy Larrieu
Open the Mingw32 (32 bits) terminal.
43
To upgrade *pip* to latest version, launch this command:
44
<pre>
45
python -m pip install --upgrade pip
46
</pre>
47
48
To install *SCons*, launch this command:
49 7 Jérémy Larrieu
<pre>
50
pip install scons
51
</pre>