Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions =0.23.0
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
[version-2 a8dd7b3] Added zstandard
3 files changed, 12 insertions(+)
create mode 100644 "=0.23.0\n"
create mode 100644 changai/changai/setup/install.py
On branch version-2
Your branch is up to date with 'origin/version-2'.

Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: =0.23.0
modified: changai/changai/setup/install.py
modified: changai/hooks.py

no changes added to commit (use "git add" and/or "git commit -a")
15 changes: 8 additions & 7 deletions changai/changai/setup/install.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import subprocess
import sys
#before install test
# import subprocess
# import sys

def install_system_deps():
subprocess.run([
"sudo", "apt", "install", "-y",
"libffi-dev", "build-essential"
], check=True)
# def install_system_deps():
# subprocess.run([
# "sudo", "apt", "install", "-y",
# "libffi-dev", "build-essential"
# ], check=True)
2 changes: 1 addition & 1 deletion changai/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
# Installation
# ------------

before_install = "changai.setup.install.install_system_deps"
# before_install = "changai.setup.install.install_system_deps"

# after_install = "changai.changai.api.v2.install.after_install"
# after_migrate = "changai.changai.api.v2.install.after_migrate"
Expand Down
Loading