1010- [ 三. flake8] ( #三-flake8 )
1111- [ 四. tox] ( #四-tox )
1212 - [ 4.1. tox --version] ( #41-tox---version )
13- - [ 4.2. tox --help] ( #42-tox---help )
14- - [ 4.3. tox --help-ini] ( #43-tox---help-ini )
15- - [ 4.4. tox --showconfig] ( #44-tox---showconfig )
16- - [ 4.4. tox --result-json] ( #44-tox---result-json )
13+ - [ 4.2. tox --verbose] ( #42-tox---verbose )
14+ - [ 4.3. tox --help] ( #43-tox---help )
15+ - [ 4.4. tox --help-ini] ( #44-tox---help-ini )
16+ - [ 4.5. tox --showconfig] ( #45-tox---showconfig )
17+ - [ 4.6. tox --result-json] ( #46-tox---result-json )
1718
1819> 平常工作和生活当中, 需要跨系统, 跨语言, 跨环境, 好多都需要笔录的方式记忆下来(已超出个体记忆能力), 好记性不如烂笔头, 故整理后续参考;
1920
@@ -42,13 +43,21 @@ pip3 install -e .
4243# pip list
4344pip2 list > ./Temp/txt/python2_pip2_list.txt
4445pip3 list > ./Temp/txt/python3_pip3_list.txt
45- python2 -m pip2 list > ./Temp/txt/2021_python2_pip2_list.txt
46- python3 -m pip3 list > ./Temp/txt/2021_python3_pip3_list.txt
46+ 47+ pip2 list > ./Temp/txt/2021_python2_pip2_list.txt
48+ pip3 list > ./Temp/txt/2021_python3_pip3_list.txt
49+ 50+ python2 -m pip list > ./Temp/txt/2021_python2_pip2_list.txt
51+ python3 -m pip list > ./Temp/txt/2021_python3_pip3_list.txt
4752# pip freeze
4853pip2 freeze > ./Temp/txt/python2_pip2_freeze.txt
4954pip3 freeze > ./Temp/txt/python3_pip3_freeze.txt
50- python2 -m pip2 freeze > ./Temp/txt/2021_python2_pip2_freeze.txt
51- python3 -m pip3 freeze > ./Temp/txt/2021_python3_pip3_freeze.txt
55+ 56+ pip2 freeze > ./Temp/txt/2021_python2_pip2_freeze.txt
57+ pip3 freeze > ./Temp/txt/2021_python3_pip3_freeze.txt
58+ 59+ python2 -m pip freeze > ./Temp/txt/2021_python2_pip2_freeze.txt
60+ python3 -m pip freeze > ./Temp/txt/2021_python3_pip3_freeze.txt
5261```
5362
5463### 2.3. pip install
@@ -60,15 +69,15 @@ python3 -m pip3 freeze > ./Temp/txt/2021_python3_pip3_freeze.txt
6069pip2 install -r ./requirements.txt
6170pip3 install -r ./requirements.txt
6271
63- python2 -m pip2 install -r ./requirements.txt
64- python3 -m pip3 install -r ./requirements.txt
72+ python2 -m pip install -r ./requirements.txt
73+ python3 -m pip install -r ./requirements.txt
6574
6675# the base chain component requirements
6776pip2 install -r ./Temp/archives/material/requirements.txt
6877pip3 install -r ./Temp/archives/material/requirements.txt
6978
70- python2 -m pip2 install -r ./Temp/archives/material/requirements.txt
71- python3 -m pip3 install -r ./Temp/archives/material/requirements.txt
79+ python2 -m pip install -r ./Temp/archives/material/requirements.txt
80+ python3 -m pip install -r ./Temp/archives/material/requirements.txt
7281```
7382
7483#### 2.3.2. pip install xxx
@@ -95,20 +104,26 @@ flake8 --help > ./Temp/help/python3_flake8_help.txt
95104
96105## 四. tox
97106
98- ``` bash
99- tox --verbose
107+ ### 4.1. tox --version
100108
101- python2 -m tox --verbose > ./Temp/help/python2_tox_verbose.txt
102- python3 -m tox --verbose > ./Temp/help/python3_tox_verbose.txt
109+ ``` bash
110+ tox --version
103111```
104112
105- ### 4.1 . tox --version
113+ ### 4.2 . tox --verbose
106114
107115``` bash
108- tox --version
116+ tox --verbose
117+ tox --verbose --parallel all
118+ tox --verbose --parallel auto
119+ tox --verbose --parallel 4 // 4 cpu core
120+ tox --verbose --parallel 8 // 8 cpu core
121+ 122+ python2 -m tox --verbose > ./Temp/help/python2_tox_verbose.txt
123+ python3 -m tox --verbose > ./Temp/help/python3_tox_verbose.txt
109124```
110125
111- ### 4.2 . tox --help
126+ ### 4.3 . tox --help
112127
113128``` bash
114129tox --help
@@ -117,7 +132,7 @@ python2 -m tox --help > ./Temp/help/python2_tox_help.txt
117132python3 -m tox --help > ./Temp/help/python3_tox_help.txt
118133```
119134
120- ### 4.3 . tox --help-ini
135+ ### 4.4 . tox --help-ini
121136
122137``` bash
123138tox --help-ini
@@ -126,7 +141,7 @@ python2 -m tox --help-ini > ./Temp/help/python2_tox_help_ini.txt
126141python3 -m tox --help-ini > ./Temp/help/python3_tox_help_ini.txt
127142```
128143
129- ### 4.4 . tox --showconfig
144+ ### 4.5 . tox --showconfig
130145
131146``` bash
132147tox --showconfig
@@ -135,7 +150,7 @@ python2 -m tox --showconfig > ./Temp/help/python2_tox_show_config.txt
135150python3 -m tox --showconfig > ./Temp/help/python3_tox_show_config.txt
136151```
137152
138- ### 4.4 . tox --result-json
153+ ### 4.6 . tox --result-json
139154
140155``` bash
141156tox --result-json
0 commit comments