Browse Source

Merge branch 'master' into v2.2.0

Steve L. Nyemba 1 month ago
parent
commit
34a00361fd
2 changed files with 2 additions and 6 deletions
  1. 1 6
      pyproject.toml
  2. 1 0
      transport/registry.py

+ 1 - 6
pyproject.toml

@@ -46,9 +46,4 @@ include = [ "transport", "transport.*"]
 
 [tool.setuptools.dynamic]
 version = {attr = "transport.info.__version__"}
-#authors = {attr = "transport.__author__"}
-
-# If you have a info.py file, you might also want to include the author dynamically:
-# [tool.setuptools.dynamic]
-# version = {attr = "info.__version__"}
-# authors = {attr = "info.__author__"}
+#authors = {attr = "info.__author__"}

+ 1 - 0
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):