-
Notifications
You must be signed in to change notification settings - Fork 17
Description
-
Refactor for compatibility with entry_points in setup.py:
Issue: The script needs to be compatible with entry_points.
Proposed Fix: Refactor the script into a function. -
Apple Silicon and InfluxDB installation:
Issue: Homebrew uses a different folder for InfluxDB on Apple Silicon.
Proposed Fix: Add if-entry to check for Apple Silicon and modify folder accordingly. However, it should be noted that:-
Consider alternatives to Homebrew since it is not installed by default on Macs (eg: download influxDB from https).
-
Homebrew installs the InfluxDB executable in a system-wide location, whereas it should be installed in the environment’s directory when using Conda/venv. That turns into the same issue as mentioned below.
-
-
File storage locations in the pgdb script:
Issue: Current file storage locations seem problematic during installation, need better resource management.
Proposed Fix: Modify the script to identify the user's environment ('CONDA_PREFIX' in os.environ).
For example:- The config.ini location is currently static (~/.pgdb), which prevents multiple environments from having separate configurations. (If updated, also change CONFIG_DIR in config.py in /polyglotdb to point to the new location.)