Python release CI (#2)

This commit is contained in:
MOI Anthony
2019-12-02 19:04:25 -05:00
committed by GitHub
parent 1a52cda912
commit 5f31ac3f75
5 changed files with 116 additions and 3 deletions

View File

@@ -0,0 +1,9 @@
#!/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