]> git.proxmox.com Git - mirror_edk2.git/blob - BaseTools/Source/Python/README.md
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / BaseTools / Source / Python / README.md
1 # Edk2 Basetools
2
3 This folder has traditionally held the source of Python based tools used by EDK2.
4 The official repo this source has moved to https://github.com/tianocore/edk2-basetools.
5 This folder will remain in the tree until the next stable release (expected 202102).
6 There is a new folder under Basetools `BinPipWrappers` that uses the pip module rather than this tree for Basetools.
7 By adding the scope `pipbuild-win` or `pipbuild-unix` (depending on your host system), the SDE will use the
8 `BinPipWrappers` instead of the regular `BinWrappers`.
9
10 ## Why Move It?
11
12 The discussion is on the mailing list. The RFC is here: https://edk2.groups.io/g/rfc/topic/74009714#270
13 The benefits allow for the Basetools project to be used separately from EDK2 itself as well as offering it in a
14 globally accessible manner.
15 This makes it much easier to build a module using Basetools.
16 Separating the Basetools into their own repo allows for easier CI and contribution process.
17 Additional pros, cons, and process can be found on the mailing list.
18
19 ## How Do I Install It?
20
21 By default, EDK2 is tied to and tested with a specific version of the Basetools through `pip-requirements.txt`.
22 You can simply run:
23
24 ```bash
25 pip install -r pip-requirements.txt
26 ```
27
28 This will install the required module, thought we strongly suggest setting up a virtual environment.
29 Additionally, you can also install a local clone of the Basetools as well as a specific git commit.