From a27725ea818b856a1f853479cb0e2f8b13ff9a66 Mon Sep 17 00:00:00 2001 From: Michael McAuliffe Date: Mon, 23 Aug 2021 18:20:24 -0700 Subject: [PATCH] Update to Mac installation --- bin/pgdb | 4 ++-- polyglotdb/__init__.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/pgdb b/bin/pgdb index 13c36bb..0ff50ff 100644 --- a/bin/pgdb +++ b/bin/pgdb @@ -132,7 +132,7 @@ def download_influxdb(data_directory, overwrite=False): else: print('Installing InfluxDB...') subprocess.call(['brew', 'update']) - subprocess.call(['brew', 'install', 'influxdb']) + subprocess.call(['brew', 'install', 'influxdb@1']) return True @@ -203,7 +203,7 @@ def start(): if sys.platform.startswith('win'): influxdb_bin = os.path.join(CONFIG['Data']['directory'], 'influxdb', 'influxd.exe') elif sys.platform == 'darwin': - influxdb_bin = 'influxd' + influxdb_bin = '/usr/local/opt/influxdb@1/bin/influxd' else: influxdb_bin = os.path.join(CONFIG['Data']['directory'], 'influxdb', 'usr', 'bin', 'influxd') influxdb_conf = os.path.join(CONFIG['Data']['directory'], 'influxdb', 'influxdb.conf') diff --git a/polyglotdb/__init__.py b/polyglotdb/__init__.py index 7bb6f9b..74b3714 100755 --- a/polyglotdb/__init__.py +++ b/polyglotdb/__init__.py @@ -1,6 +1,6 @@ __ver_major__ = 1 __ver_minor__ = 2 -__ver_patch__ = '0a' +__ver_patch__ = '0a1' __version__ = f"{__ver_major__}.{__ver_minor__}.{__ver_patch__}" __all__ = ['query', 'io', 'corpus', 'config', 'exceptions', 'CorpusContext', 'CorpusConfig']