Browse Source

fixed up build-deb.sh

master
B.J. Dweck 1 year ago
parent
commit
32ee0ffe55
1 changed files with 4 additions and 5 deletions
  1. +4
    -5
      build-deb.sh

+ 4
- 5
build-deb.sh View File

@ -16,15 +16,14 @@ PROJECT=torch-agent-$TORCH_VERSION
BUILD_DIR=dist
DEB_DIR=$BUILD_DIR/$PROJECT
rm -rf "${BUILD_DIR:?}/"*
pip3 install -r requirements.txt
python3 setup.py sdist
rm -rf "${BUILD_DIR:?}"
mkdir -p "$DEB_DIR/src/etc/torch"
cp -r debian "$DEB_DIR/"
cp torch.conf "$DEB_DIR/src/etc/torch/"
pip3 install -r requirements.txt
python3 setup.py sdist
cd $BUILD_DIR || exit
tar -xzmf "$PROJECT.tar.gz"

Loading…
Cancel
Save