Skip to content

Commit

Permalink
fix buildscript (hopefully)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kim Neunert committed Feb 14, 2023
1 parent 4e9f325 commit 4ef5a0b
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions utils/build-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,9 @@ function build_pypi_pckgs_and_install {
if [[ "$OSTYPE" == "darwin"* ]]; then
SML_ADD="\"\""
fi
sed -i $SML_ADD "s|version=\".*|version=\"$version\",|" setup.py
cat setup.py
python3 setup.py sdist bdist_wheel
git checkout setup.py
pypi_comp_version=$(echo $version | sed 's/^v//' | sed 's/-pre/rc/' )
pip3 install ./dist/cryptoadvance.specter-${pypi_comp_version}-py3-none-any.whl
pip3 install build==0.10.0
python3 -m build
pip3 install ./dist/cryptoadvance.specter-*.whl
}

function specify_app_name {
Expand Down

0 comments on commit 4ef5a0b

Please sign in to comment.