mirror of
https://github.com/mii443/tokenizers.git
synced 2025-08-31 04:29:21 +00:00
10 lines
261 B
Bash
Executable File
10 lines
261 B
Bash
Executable File
#!/bin/bash
|
|
set -ex
|
|
|
|
# Create a symlink for tokenizers-lib
|
|
ln -sf ../../tokenizers tokenizers-lib
|
|
# Modify cargo.toml to include this symlink
|
|
sed -i 's/\.\.\/\.\.\/tokenizers/\.\/tokenizers-lib/' Cargo.toml
|
|
# Build the source distribution
|
|
python setup.py sdist
|