Signed-off-by: hmz007 <hmz007@gmail.com> Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
12 lines
232 B
Bash
Executable File
12 lines
232 B
Bash
Executable File
#!/bin/sh -ex
|
|
|
|
unset PYTHONPATH
|
|
python3 -m venv build/venv
|
|
. build/venv/bin/activate
|
|
|
|
pip install --upgrade build twine
|
|
python -m build
|
|
twine check dist/*
|
|
|
|
echo 'When ready, upload to PyPI using: build/venv/bin/twine upload dist/*'
|