Skip to content

Commit dd7a842

Browse files
authored
Merge pull request #102 from Alinvor/feature
[DONE]合并分支
2 parents 9b94c59 + d7924e5 commit dd7a842

File tree

7 files changed

+24699
-1
lines changed

7 files changed

+24699
-1
lines changed

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"env": {
3838
// "PYTEST_ADDOPTS": "--no-cov"
3939
},
40-
"envFile": "${workspaceFolder}/.env/dev.env",
40+
"envFile": "${workspaceFolder}/asterisk.env/dev.env",
4141
"name": "Python: The Current File",
4242
"program": "${file}",
4343
"request": "launch",

.vscode/tasks.json

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
// See article list links:
3+
//
4+
// 1. https://go.microsoft.com/fwlink/?LinkId=733558
5+
// 2. https://vscode-docs.readthedocs.io/en/stable/editor/tasks/
6+
// 3. https://code.visualstudio.com/docs/editor/variables-reference/
7+
// 4. https://docs.brew.sh/Homebrew-and-Python/
8+
//
9+
// for the documentation about the tasks.json format
10+
"version": "2.0.0",
11+
"tasks": [
12+
{
13+
"label": "1. Python Clean",
14+
"type": "shell",
15+
"linux": {
16+
"command": "${workspaceFolder}/Temp/bash/clean/.rmcache.sh"
17+
},
18+
"osx": {
19+
"command": "${workspaceFolder}/Temp/bash/clean/.rmcache.sh"
20+
},
21+
"windows": {
22+
"command": "${workspaceFolder}/Temp/bash/clean/.rmcache.ps1"
23+
}
24+
},
25+
{
26+
"label": "2. Python@2 or Python@3 Env",
27+
"type": "shell",
28+
"linux": {
29+
"command": "echo ${workspaceFolder}"
30+
},
31+
"osx": {
32+
"command": "python -c 'import sys;import json;print(json.dumps(sys.path, indent=4))'"
33+
},
34+
"windows": {
35+
"command": "echo ${workspaceFolder}"
36+
}
37+
},
38+
{
39+
"label": "Z. Test",
40+
"type": "shell",
41+
"linux": {
42+
"command": "echo ${workspaceFolder}"
43+
},
44+
"osx": {
45+
// "command": "echo ${config:editor.fontSize}"
46+
// "command": "echo ${config:python.envFile}"
47+
// "command": "echo ${env:PYTHONPATH}"
48+
// "command": "echo ${env:PATH}"
49+
"command": "echo ${workspaceFolder}"
50+
},
51+
"windows": {
52+
"command": "echo ${workspaceFolder}"
53+
}
54+
}
55+
]
56+
}

.rmcache.ps1 renamed to Temp/bash/clean/.rmcache.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,7 @@ Remove-Item -Path .\src\com.dvsnier.*.egg-info -Recurse
2020
Remove-Item -Path .\dist\* -Recurse
2121
## ./out/log/*
2222
Remove-Item -Path .\out\log\* -Recurse
23+
## .pytest_cache
24+
Remove-Item -Path .\.pytest_cache\* -Recurse
2325
## __pycache__
2426
Get-ChildItem -Path . -include __pycache__ -Recurse | Remove-Item

.rmcache.sh renamed to Temp/bash/clean/.rmcache.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,7 @@ find ./src -path "*com.dvsnier*" -delete
1616
find ./dist -path "*" ! -name "dist" -delete
1717
## ./out/log/*
1818
find ./out/log -path "*" ! -name "log" -delete
19+
## .pytest_cache
20+
find ./.pytest_cache -path "*" ! -name ".pytest_cache" -delete
1921
## __pycache__
2022
find . -type d -name __pycache__ -exec rm -r {} +

Temp/debug/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# README
2+
3+
## 说明
4+
5+
6+
7+
```bash
8+
# the install python@2 script
9+
10+
```
11+
12+
2. get-pip.py
13+
14+
```bash
15+
# the upgrade pip script
16+
get-pip.py
17+
```

Temp/debug/get-pip.py

Lines changed: 24306 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)