Skip to content

Commit

Permalink
Merge pull request #88 from Alinvor/developer
Browse files Browse the repository at this point in the history
[DONE]合并分支
  • Loading branch information
DovSnier authored Jul 8, 2021
2 parents e8cfc41 + cfb719c commit e7b5e56
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .rmcache.bash
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ find . -type f -name '*.pyc' -delete

### THE DELETE DIRECTORY
## .tox/*
find .tox -path "*" -delete
find .tox -path "*" ! -name ".tox" -delete
## ./build/*
find ./build -path "*" ! -name "build" -delete
## ./src/com.dvsnier.*.egg-info
Expand Down
2 changes: 1 addition & 1 deletion .rmcache.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Get-ChildItem -Path . -include *.pyc -Recurse | Remove-Item

### THE DELETE DIRECTORY
## .tox/*
Remove-Item -Path .\.tox -Recurse
Remove-Item -Path .\.tox\* -Recurse
## ./build/*
Remove-Item -Path .\build\* -Recurse
## ./src/com.dvsnier.*.egg-info
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -948,6 +948,12 @@ tox-quickstart
```bash
tox

tox --verbose
tox --verbose --parallel all
tox --verbose --parallel auto
tox --verbose --parallel 4 // 4 cpu core
tox --verbose --parallel 8 // 8 cpu core

python2 -m tox --result-json ./Temp/help/python2_tox_result_json.txt
python3 -m tox --result-json ./Temp/help/python3_tox_result_json.txt

Expand Down
59 changes: 37 additions & 22 deletions Temp/bash/python_command.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@
- [三. flake8](#三-flake8)
- [四. tox](#四-tox)
- [4.1. tox --version](#41-tox---version)
- [4.2. tox --help](#42-tox---help)
- [4.3. tox --help-ini](#43-tox---help-ini)
- [4.4. tox --showconfig](#44-tox---showconfig)
- [4.4. tox --result-json](#44-tox---result-json)
- [4.2. tox --verbose](#42-tox---verbose)
- [4.3. tox --help](#43-tox---help)
- [4.4. tox --help-ini](#44-tox---help-ini)
- [4.5. tox --showconfig](#45-tox---showconfig)
- [4.6. tox --result-json](#46-tox---result-json)

> 平常工作和生活当中, 需要跨系统, 跨语言, 跨环境, 好多都需要笔录的方式记忆下来(已超出个体记忆能力), 好记性不如烂笔头, 故整理后续参考;
Expand Down Expand Up @@ -42,13 +43,21 @@ pip3 install -e .
# pip list
pip2 list > ./Temp/txt/python2_pip2_list.txt
pip3 list > ./Temp/txt/python3_pip3_list.txt
python2 -m pip2 list > ./Temp/txt/2021_python2_pip2_list.txt
python3 -m pip3 list > ./Temp/txt/2021_python3_pip3_list.txt

pip2 list > ./Temp/txt/2021_python2_pip2_list.txt
pip3 list > ./Temp/txt/2021_python3_pip3_list.txt

python2 -m pip list > ./Temp/txt/2021_python2_pip2_list.txt
python3 -m pip list > ./Temp/txt/2021_python3_pip3_list.txt
# pip freeze
pip2 freeze > ./Temp/txt/python2_pip2_freeze.txt
pip3 freeze > ./Temp/txt/python3_pip3_freeze.txt
python2 -m pip2 freeze > ./Temp/txt/2021_python2_pip2_freeze.txt
python3 -m pip3 freeze > ./Temp/txt/2021_python3_pip3_freeze.txt

pip2 freeze > ./Temp/txt/2021_python2_pip2_freeze.txt
pip3 freeze > ./Temp/txt/2021_python3_pip3_freeze.txt

python2 -m pip freeze > ./Temp/txt/2021_python2_pip2_freeze.txt
python3 -m pip freeze > ./Temp/txt/2021_python3_pip3_freeze.txt
```

### 2.3. pip install
Expand All @@ -60,15 +69,15 @@ python3 -m pip3 freeze > ./Temp/txt/2021_python3_pip3_freeze.txt
pip2 install -r ./requirements.txt
pip3 install -r ./requirements.txt

python2 -m pip2 install -r ./requirements.txt
python3 -m pip3 install -r ./requirements.txt
python2 -m pip install -r ./requirements.txt
python3 -m pip install -r ./requirements.txt

# the base chain component requirements
pip2 install -r ./Temp/archives/material/requirements.txt
pip3 install -r ./Temp/archives/material/requirements.txt

python2 -m pip2 install -r ./Temp/archives/material/requirements.txt
python3 -m pip3 install -r ./Temp/archives/material/requirements.txt
python2 -m pip install -r ./Temp/archives/material/requirements.txt
python3 -m pip install -r ./Temp/archives/material/requirements.txt
```

#### 2.3.2. pip install xxx
Expand All @@ -95,20 +104,26 @@ flake8 --help > ./Temp/help/python3_flake8_help.txt

## 四. tox

```bash
tox --verbose
### 4.1. tox --version

python2 -m tox --verbose > ./Temp/help/python2_tox_verbose.txt
python3 -m tox --verbose > ./Temp/help/python3_tox_verbose.txt
```bash
tox --version
```

### 4.1. tox --version
### 4.2. tox --verbose

```bash
tox --version
tox --verbose
tox --verbose --parallel all
tox --verbose --parallel auto
tox --verbose --parallel 4 // 4 cpu core
tox --verbose --parallel 8 // 8 cpu core

python2 -m tox --verbose > ./Temp/help/python2_tox_verbose.txt
python3 -m tox --verbose > ./Temp/help/python3_tox_verbose.txt
```

### 4.2. tox --help
### 4.3. tox --help

```bash
tox --help
Expand All @@ -117,7 +132,7 @@ python2 -m tox --help > ./Temp/help/python2_tox_help.txt
python3 -m tox --help > ./Temp/help/python3_tox_help.txt
```

### 4.3. tox --help-ini
### 4.4. tox --help-ini

```bash
tox --help-ini
Expand All @@ -126,7 +141,7 @@ python2 -m tox --help-ini > ./Temp/help/python2_tox_help_ini.txt
python3 -m tox --help-ini > ./Temp/help/python3_tox_help_ini.txt
```

### 4.4. tox --showconfig
### 4.5. tox --showconfig

```bash
tox --showconfig
Expand All @@ -135,7 +150,7 @@ python2 -m tox --showconfig > ./Temp/help/python2_tox_show_config.txt
python3 -m tox --showconfig > ./Temp/help/python3_tox_show_config.txt
```

### 4.4. tox --result-json
### 4.6. tox --result-json

```bash
tox --result-json
Expand Down

0 comments on commit e7b5e56

Please sign in to comment.