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:
23
23
Blocks unsafe characters for your safety.
24
24
* Normalizes email addresses (important for internationalized
25
25
addresses! see below).
26
+ * Python type annotations are used.
26
27
27
28
This library does NOT permit obsolete forms of email addresses, so
28
29
if you need strict validation against the email specs exactly, use
@@ -411,13 +412,13 @@ To release:
411
412
412
413
* Update CHANGELOG.md.
413
414
* 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 ).
416
417
* 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) .
418
419
419
420
``` sh
420
- ./release_to_pypi.sh
421
421
git tag v$( grep version setup.cfg | sed " s/.*= //" )
422
422
git push --tags
423
+ ./release_to_pypi.sh
423
424
```
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
- pip3 install --upgrade twine
2
+ pip3 install --upgrade build twine
3
3
rm -rf dist
4
- python3 setup.py sdist
5
- python3 setup.py bdist_wheel
4
+ python3 -m build
6
5
twine upload -u __token__ dist/* # username: __token__ password: pypi API token
You can’t perform that action at this time.
0 commit comments