diff --git a/script/test b/script/publish similarity index 61% copy from script/test copy to script/publish index 45615a9..8b18797 100755 --- a/script/test +++ b/script/publish @@ -1,10 +1,10 @@ #!/bin/bash if which python3 > /dev/null; then py=python3 else py=python fi - -CFLAGS="-O0 -g" $py -- setup.py --quiet test +$py setup.py sdist bdist_wheel +twine upload dist/* diff --git a/script/test b/script/test index 45615a9..6acb9c0 100755 --- a/script/test +++ b/script/test @@ -1,10 +1,9 @@ #!/bin/bash if which python3 > /dev/null; then py=python3 else py=python fi - CFLAGS="-O0 -g" $py -- setup.py --quiet test