fixed up build-deb.sh
This commit is contained in:
parent
f31e9e62d7
commit
32ee0ffe55
|
@ -16,15 +16,14 @@ PROJECT=torch-agent-$TORCH_VERSION
|
||||||
BUILD_DIR=dist
|
BUILD_DIR=dist
|
||||||
DEB_DIR=$BUILD_DIR/$PROJECT
|
DEB_DIR=$BUILD_DIR/$PROJECT
|
||||||
|
|
||||||
rm -rf "${BUILD_DIR:?}/"*
|
rm -rf "${BUILD_DIR:?}"
|
||||||
|
|
||||||
pip3 install -r requirements.txt
|
|
||||||
python3 setup.py sdist
|
|
||||||
|
|
||||||
mkdir -p "$DEB_DIR/src/etc/torch"
|
mkdir -p "$DEB_DIR/src/etc/torch"
|
||||||
cp -r debian "$DEB_DIR/"
|
cp -r debian "$DEB_DIR/"
|
||||||
cp torch.conf "$DEB_DIR/src/etc/torch/"
|
cp torch.conf "$DEB_DIR/src/etc/torch/"
|
||||||
|
|
||||||
|
pip3 install -r requirements.txt
|
||||||
|
python3 setup.py sdist
|
||||||
|
|
||||||
cd $BUILD_DIR || exit
|
cd $BUILD_DIR || exit
|
||||||
tar -xzmf "$PROJECT.tar.gz"
|
tar -xzmf "$PROJECT.tar.gz"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user