BuildAnubisFromSourcesWindow710
Version 10 (Jérémy Larrieu, 12/30/2019 09:11 PM)
1 | 1 | Jérémy Larrieu | h1. BuildAnubisFromSourcesWindow710 |
---|---|---|---|
2 | 1 | Jérémy Larrieu | |
3 | 1 | Jérémy Larrieu | h2. Requirements |
4 | 1 | Jérémy Larrieu | |
5 | 1 | Jérémy Larrieu | First of all, you'll need to install these requirements: |
6 | 1 | Jérémy Larrieu | * MSYS2 |
7 | 7 | Jérémy Larrieu | * Python 3.8 |
8 | 1 | Jérémy Larrieu | * SCons |
9 | 2 | Jérémy Larrieu | |
10 | 2 | Jérémy Larrieu | h3. MSYS2 installation. |
11 | 2 | Jérémy Larrieu | |
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 | 2 | Jérémy Larrieu | * 64bits installer for Windows 7/10 64bits |
15 | 6 | Jérémy Larrieu | |
16 | 6 | Jérémy Larrieu | Install MSYS2 with the downloaded installer. |
17 | 6 | Jérémy Larrieu | |
18 | 6 | Jérémy Larrieu | Run the *MSYS2 MinGW 32-bit* terminal and run this command to update your installation: |
19 | 6 | Jérémy Larrieu | <pre> |
20 | 6 | Jérémy Larrieu | pacman -Syuu |
21 | 6 | Jérémy Larrieu | </pre> |
22 | 6 | Jérémy Larrieu | |
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 | 7 | Jérémy Larrieu | h3. Python 3.8 installation |
26 | 7 | Jérémy Larrieu | |
27 | 7 | Jérémy Larrieu | Download the Python 3.8 installer on http://www.python.org website and launch it to install it. |
28 | 7 | Jérémy Larrieu | |
29 | 7 | Jérémy Larrieu | 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 | 8 | Jérémy Larrieu | 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 | 9 | Jérémy Larrieu | |
35 | 9 | Jérémy Larrieu | To be able to use *SCons*, *Python* or *pip* in MSYS2 terminal, you have to create the following environment variable: |
36 | 9 | Jérémy Larrieu | * Type: USER Variable |
37 | 9 | Jérémy Larrieu | * Name: MSYS2_PATH_TYPE |
38 | 9 | Jérémy Larrieu | * Value: inherit |
39 | 9 | Jérémy Larrieu | |
40 | 7 | Jérémy Larrieu | h3. SCons installation. |
41 | 7 | Jérémy Larrieu | |
42 | 10 | Jérémy Larrieu | Open the Mingw32 (32 bits) terminal. |
43 | 10 | Jérémy Larrieu | To upgrade *pip* to latest version, launch this command: |
44 | 10 | Jérémy Larrieu | <pre> |
45 | 10 | Jérémy Larrieu | python -m pip install --upgrade pip |
46 | 10 | Jérémy Larrieu | </pre> |
47 | 10 | Jérémy Larrieu | |
48 | 10 | Jérémy Larrieu | To install *SCons*, launch this command: |
49 | 7 | Jérémy Larrieu | <pre> |
50 | 7 | Jérémy Larrieu | pip install scons |
51 | 7 | Jérémy Larrieu | </pre> |