File tree Expand file tree Collapse file tree 6 files changed +3
-155
lines changed Expand file tree Collapse file tree 6 files changed +3
-155
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,16 +2,17 @@ all: build upload
2
2
3
3
build :
4
4
pip install build twine
5
+ rm -rf dist/
5
6
python -m build
6
7
twine check dist/*
7
8
8
9
upload-prod : build
9
10
export TWINE_USERNAME=__token__
10
- python -m twine upload dist/*
11
+ bash -c ' read -s -p "Enter your Production PyPI token: " TWINE_PASSWORD; echo; export TWINE_PASSWORD; python -m twine upload dist/*'
11
12
12
13
upload-test : build
13
14
export TWINE_USERNAME=__token__
14
- python -m twine --repository testpypi upload dist/*
15
+ bash -c ' read -s -p "Enter your Test PyPI token: " TWINE_PASSWORD; echo; export TWINE_PASSWORD; python -m twine upload --repository testpypi dist/*'
15
16
16
17
clean :
17
18
rm -rf build/ dist/ * .egg-info/ __pycache__/ .pytest_cache/ .mypy_cache/
Original file line number Diff line number Diff line change @@ -48,10 +48,6 @@ dev = [
48
48
test = [
49
49
" pytest>=6.0" ,
50
50
]
51
- tornado = [
52
- " tornado" ,
53
- " werkzeug" ,
54
- ]
55
51
flask = [
56
52
" flask" ,
57
53
" werkzeug" ,
@@ -62,9 +58,6 @@ jinja2 = [
62
58
redis = [
63
59
" redis" ,
64
60
]
65
- twisted = [
66
- " twisted" ,
67
- ]
68
61
69
62
[tool .setuptools ]
70
63
include-package-data = true
@@ -75,7 +68,6 @@ include = ["ioc*"]
75
68
[tool .setuptools .package-data ]
76
69
"*" = [" *.yml" , " *.yaml" , " *.html" ]
77
70
78
-
79
71
[tool .mypy ]
80
72
python_version = " 3.9"
81
73
warn_return_any = false
@@ -95,9 +87,7 @@ ignore_errors = false
95
87
[[tool .mypy .overrides ]]
96
88
module = [
97
89
" yaml.*" ,
98
- " werkzeug.*" ,
99
90
" element.*" ,
100
- " tornado.*" ,
101
91
" redis.*" ,
102
92
" jinja2.*" ,
103
93
" flask.*" ,
You can’t perform that action at this time.
0 commit comments