环境搭建略
下载python源代码 并切换到3.9分支
python目录
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
.
├── aclocal.m4
├── CODE_OF_CONDUCT.md
├── config.guess
├── config.log
├── config.status
├── config.sub
├── configure
├── configure.ac
├── Doc
├── Grammar
├── Include c语言头文件
├── install-sh
├── Lib python标准库,用python写的
├── LICENSE
├── m4
├── Mac
├── Makefile
├── Makefile.pre
├── Makefile.pre.in
├── Misc
├── Modules c语言编写模块
├── netlify.toml
├── Objects python所有内建对象
├── Parser python解释器的scanner和parser,词法解析和语法解析
├── Path
├── PC
├── PCbuild
├── Programs
├── pyconfig.h
├── pyconfig.h.in
├── Python python解释器的complier和执行引擎
|
编译python
老规矩,三步走起
1
2
3
|
./configure -prefix=/home/andy/github/cpython/Path
make -j8
mak install
|
接下来我们编译的python会被安装到指定目录