Skip to content

Commit

Permalink
compile
Browse files Browse the repository at this point in the history
  • Loading branch information
nicarq committed Oct 11, 2023
1 parent 44c44ec commit 5e76ca4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions shinkai-libs/shinkai-message-pyo3/compile.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

# Create a virtual environment if it doesn't exist
if [ ! -d "./venv" ]
then
python -m venv venv
fi

# Activate your virtual environment
source ./venv/bin/activate

# Run maturin develop and capture its output
maturin build -i python --compatibility linux --strip --release

0 comments on commit 5e76ca4

Please sign in to comment.