Release 0.2.4

This commit is contained in:
László Károlyi 2020-04-12 14:42:20 +02:00
parent 3c035aac9c
commit c91830d860
Signed by: karolyi
GPG Key ID: 2DCAF25E55735BFE
2 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,9 @@
0.2.4:
- Fixed built-in datadir creation again.
0.2.3:
- Fixed https://github.com/karolyi/py3-validate-email/issues/13
0.2.2:
- Fixed the automatic download of the validate_email/data directory on
package install time. The source distribution MUST NOT include the

View File

@ -31,7 +31,8 @@ class InstallCommand(install):
# variable is set in locals() to determine if it is run from the
# setup, in which case it won't autoupdate.
_IS_VALIDATEEMAIL_SETUP = True
from validate_email.updater import BlacklistUpdater
from validate_email.updater import BlacklistUpdater, LIB_PATH_DEFAULT
LIB_PATH_DEFAULT.mkdir(exist_ok=True)
blacklist_updater = BlacklistUpdater()
blacklist_updater._is_install_time = _IS_VALIDATEEMAIL_SETUP
blacklist_updater.process(force=True)
@ -50,7 +51,8 @@ class DevelopCommand(develop):
# variable is set in locals() to determine if it is run from the
# setup, in which case it won't autoupdate.
_IS_VALIDATEEMAIL_SETUP = True
from validate_email.updater import BlacklistUpdater
from validate_email.updater import BlacklistUpdater, LIB_PATH_DEFAULT
LIB_PATH_DEFAULT.mkdir(exist_ok=True)
blacklist_updater = BlacklistUpdater()
blacklist_updater._is_install_time = _IS_VALIDATEEMAIL_SETUP
blacklist_updater.process(force=True)
@ -84,7 +86,7 @@ class SdistCommand(sdist):
setup(
name='py3-validate-email',
version='0.2.2',
version='0.2.4',
packages=find_packages(exclude=['tests']),
install_requires=_DEPENDENCIES,
author='László Károlyi',