scailable / sclblpy

Python package for Scailable uploads
MIT License
19 stars 1 forks source link

User credentials and .gzip file location #6

Closed MKaptein closed 4 years ago

MKaptein commented 4 years ago

Check where the user credentials and (temporary) .gzip are stored when installing the package. Make sure that this is in a sensible location (i.e., not the current working directory but rather the directory where the package is installed).

MKaptein commented 4 years ago

Now set to:

USER_CREDENTIALS: str = dirs.user_config_dir + "/.creds.json" # User credentials GZIP_BUNDLE: str = dirs.user_data_dir + "/model_bundle.gzip" # Model bundle MODELS_JSON: str = os.path.dirname(os.path.realpath(file)) + "/supported_models.json" # Supported models

in _globals.py