File tree Expand file tree Collapse file tree 7 files changed +24699
-1
lines changed Expand file tree Collapse file tree 7 files changed +24699
-1
lines changed Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change 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+ }
Original file line number Diff line number Diff line change @@ -20,5 +20,7 @@ Remove-Item -Path .\src\com.dvsnier.*.egg-info -Recurse
2020Remove-Item - Path .\dist\* - Recurse
2121# # ./out/log/*
2222Remove-Item - Path .\out\log\* - Recurse
23+ # # .pytest_cache
24+ Remove-Item - Path .\.pytest_cache\* - Recurse
2325# # __pycache__
2426Get-ChildItem - Path . - include __pycache__ - Recurse | Remove-Item
Original file line number Diff line number Diff line change @@ -16,5 +16,7 @@ find ./src -path "*com.dvsnier*" -delete
1616find ./dist -path " *" ! -name " dist" -delete
1717# # ./out/log/*
1818find ./out/log -path " *" ! -name " log" -delete
19+ # # .pytest_cache
20+ find ./.pytest_cache -path " *" ! -name " .pytest_cache" -delete
1921# # __pycache__
2022find . -type d -name __pycache__ -exec rm -r {} +
Original file line number Diff line number Diff line change 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+ ```
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments