From b0426d82a4871e9081367ad4e977b22f42db5a89 Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Sat, 26 Aug 2023 11:04:14 -0700 Subject: fix: :construction_worker: copy_metadata for replicate in run.spec --- run.m1.spec | 7 ++++--- run.spec | 5 +++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/run.m1.spec b/run.m1.spec index 3eeea867..ad75856a 100644 --- a/run.m1.spec +++ b/run.m1.spec @@ -1,5 +1,6 @@ # -*- mode: python ; coding: utf-8 -*- import certifi +from PyInstaller.utils.hooks import copy_metadata block_cipher = None @@ -10,9 +11,9 @@ a = Analysis( binaries=[], datas=[ ('continuedev', 'continuedev'), - (certifi.where(), 'ca_bundle') - ], - hiddenimports=['anthropic', 'github', 'ripgrepy', 'bs4', 'redbaron'], + (certifi.where(), 'ca_bundle'), + ] + copy_metadata('replicate'), + hiddenimports=['anthropic', 'github', 'ripgrepy', 'bs4', 'redbaron', 'replicate'], hookspath=[], hooksconfig={}, runtime_hooks=[], diff --git a/run.spec b/run.spec index 2daa99a0..e3c6c07c 100644 --- a/run.spec +++ b/run.spec @@ -1,5 +1,6 @@ # -*- mode: python ; coding: utf-8 -*- import certifi +from PyInstaller.utils.hooks import copy_metadata block_cipher = None @@ -11,8 +12,8 @@ a = Analysis( datas=[ ('continuedev', 'continuedev'), (certifi.where(), 'ca_bundle') - ], - hiddenimports=['anthropic', 'github', 'ripgrepy', 'bs4', 'redbaron'], + ] + copy_metadata('replicate'), + hiddenimports=['anthropic', 'github', 'ripgrepy', 'bs4', 'redbaron', 'replicate'], hookspath=[], hooksconfig={}, runtime_hooks=[], -- cgit v1.2.3-70-g09d2