diff --git a/pyproject.toml b/pyproject.toml index 159e9cb..3cad315 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,7 +55,7 @@ include = ["info","info.*", "transport", "transport.*"] [tool.setuptools.dynamic] version = {attr = "info.__version__"} -#authors = {attr = "meta.__author__"} +#authors = {attr = "info.__author__"} # If you have a info.py file, you might also want to include the author dynamically: # [tool.setuptools.dynamic] diff --git a/transport/registry.py b/transport/registry.py index 050b82d..85f56de 100644 --- a/transport/registry.py +++ b/transport/registry.py @@ -51,6 +51,7 @@ def init (email,path=REGISTRY_PATH,override=False,_file=REGISTRY_FILE): p = '@' in email #q = False if '.' not in email else email.split('.')[-1] in ['edu','com','io','ai','org'] q = len(email.split('.')[-1]) in [2,3] + if p and q : _config = {"email":email,'version':__version__} if not os.path.exists(path):