File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ Key features:
2323 Blocks unsafe characters for your safety.
2424* Normalizes email addresses (important for internationalized
2525 addresses! see below).
26+ * Python type annotations are used.
2627
2728This library does NOT permit obsolete forms of email addresses, so
2829if you need strict validation against the email specs exactly, use
@@ -411,13 +412,13 @@ To release:
411412
412413* Update CHANGELOG.md.
413414* Update the version number in setup.cfg.
414- * Make & push a commit with the new version number.
415- * Make & push a tag (` git tag v... && git push --tags ` ).
415+ * Make & push a commit with the new version number and make sure tests pass .
416+ * Make & push a tag (see command below ).
416417* Make a release at https://github.com/JoshData/python-email-validator/releases/new .
417- * Follow the steps below to publish source and a universal wheel to pypi.
418+ * Publish a source and wheel distribution to pypi (see command below) .
418419
419420``` sh
420- ./release_to_pypi.sh
421421git tag v$( grep version setup.cfg | sed " s/.*= //" )
422422git push --tags
423+ ./release_to_pypi.sh
423424```
Original file line number Diff line number Diff line change 11#! /bin/sh
2- pip3 install --upgrade twine
2+ pip3 install --upgrade build twine
33rm -rf dist
4- python3 setup.py sdist
5- python3 setup.py bdist_wheel
4+ python3 -m build
65twine upload -u __token__ dist/* # username: __token__ password: pypi API token
You can’t perform that action at this time.
0 commit comments