bug fixes: installer & registry

v2.2.0
Steve Nyemba 4 weeks ago
parent befdf453f5
commit be10ae17d7

@ -18,6 +18,7 @@ classifiers = [
] ]
dependencies = [ dependencies = [
"termcolor","sqlalchemy", "aiosqlite","duckdb-engine", "termcolor","sqlalchemy", "aiosqlite","duckdb-engine",
"mysql-connector-python","psycopg2-binary","nzpy","pymssql","duckdb-engine","aiosqlite",
"typer","pandas","numpy","sqlalchemy","pyarrow", "typer","pandas","numpy","sqlalchemy","pyarrow",
"plugin-ix@git+https://github.com/lnyemba/plugins-ix" "plugin-ix@git+https://github.com/lnyemba/plugins-ix"
] ]

@ -49,7 +49,8 @@ def init (email,path=REGISTRY_PATH,override=False,_file=REGISTRY_FILE):
Initializing the registry and will raise an exception in the advent of an issue Initializing the registry and will raise an exception in the advent of an issue
""" """
p = '@' in email p = '@' in email
q = False if '.' not in email else email.split('.')[-1] in ['edu','com','io','ai','org'] #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 : if p and q :
_config = {"email":email,'version':__version__} _config = {"email":email,'version':__version__}
if not os.path.exists(path): if not os.path.exists(path):

Loading…
Cancel
Save