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
22
33build :
44 pip install build twine
5+ rm -rf dist/
56 python -m build
67 twine check dist/*
78
89upload-prod : build
910 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/*'
1112
1213upload-test : build
1314 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/*'
1516
1617clean :
1718 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 = [
4848test = [
4949 " pytest>=6.0" ,
5050]
51- tornado = [
52- " tornado" ,
53- " werkzeug" ,
54- ]
5551flask = [
5652 " flask" ,
5753 " werkzeug" ,
@@ -62,9 +58,6 @@ jinja2 = [
6258redis = [
6359 " redis" ,
6460]
65- twisted = [
66- " twisted" ,
67- ]
6861
6962[tool .setuptools ]
7063include-package-data = true
@@ -75,7 +68,6 @@ include = ["ioc*"]
7568[tool .setuptools .package-data ]
7669"*" = [" *.yml" , " *.yaml" , " *.html" ]
7770
78-
7971[tool .mypy ]
8072python_version = " 3.9"
8173warn_return_any = false
@@ -95,9 +87,7 @@ ignore_errors = false
9587[[tool .mypy .overrides ]]
9688module = [
9789 " yaml.*" ,
98- " werkzeug.*" ,
9990 " element.*" ,
100- " tornado.*" ,
10191 " redis.*" ,
10292 " jinja2.*" ,
10393 " flask.*" ,
You can’t perform that action at this time.
0 commit comments