Explorar o código

Merge branch 'master' into v2.2.0

Steve L. Nyemba hai 1 mes
pai
achega
34a00361fd
Modificáronse 2 ficheiros con 2 adicións e 6 borrados
  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):