begin work on actually getting installing working
This commit is contained in:
15
publish.sh
Executable file
15
publish.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
VENV_DIR="venv"
|
||||
|
||||
if [ -d "$VENV_DIR" ]; then
|
||||
source "$VENV_DIR/bin/activate"
|
||||
else
|
||||
python3 -m venv venv
|
||||
source "$VENV_DIR/bin/activate"
|
||||
fi
|
||||
|
||||
pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
python setup.py || { echo "setup.py failed!"; exit 1; }
|
||||
|
||||
twine check dist/* || { echo "twine check failed!"; exit 1; }
|
||||
Reference in New Issue
Block a user