|
|
@ -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" |
|
|
|
|
|
|
|