update paths

This commit is contained in:
Ashwin Bharambe 2024-08-29 16:14:45 -07:00
parent d12aa64bbf
commit 6fa074168e
3 changed files with 6 additions and 6 deletions

View file

@ -62,13 +62,13 @@ class ApiStart(Subcommand):
if config.docker_image: if config.docker_image:
script = pkg_resources.resource_filename( script = pkg_resources.resource_filename(
"llama_toolchain", "llama_toolchain",
"distribution/start_container.sh", "core/start_container.sh",
) )
run_args = [script, config.docker_image] run_args = [script, config.docker_image]
else: else:
script = pkg_resources.resource_filename( script = pkg_resources.resource_filename(
"llama_toolchain", "llama_toolchain",
"distribution/start_conda_env.sh", "core/start_conda_env.sh",
) )
run_args = [ run_args = [
script, script,

View file

@ -70,13 +70,13 @@ class StackStart(Subcommand):
if config.docker_image: if config.docker_image:
script = pkg_resources.resource_filename( script = pkg_resources.resource_filename(
"llama_toolchain", "llama_toolchain",
"distribution/start_container.sh", "core/start_container.sh",
) )
run_args = [script, config.docker_image] run_args = [script, config.docker_image]
else: else:
script = pkg_resources.resource_filename( script = pkg_resources.resource_filename(
"llama_toolchain", "llama_toolchain",
"distribution/start_conda_env.sh", "core/start_conda_env.sh",
) )
run_args = [ run_args = [
script, script,

View file

@ -147,7 +147,7 @@ def build_package(
if build_type == BuildType.container: if build_type == BuildType.container:
script = pkg_resources.resource_filename( script = pkg_resources.resource_filename(
"llama_toolchain", "distribution/build_container.sh" "llama_toolchain", "core/build_container.sh"
) )
args = [ args = [
script, script,
@ -158,7 +158,7 @@ def build_package(
] ]
else: else:
script = pkg_resources.resource_filename( script = pkg_resources.resource_filename(
"llama_toolchain", "distribution/build_conda_env.sh" "llama_toolchain", "core/build_conda_env.sh"
) )
args = [ args = [
script, script,