diff --git a/Makefile b/Makefile
index 382f80d5..53b5bfb1 100644
--- a/Makefile
+++ b/Makefile
@@ -4,9 +4,9 @@ PREFIX?=/usr
DISTNAME=inkscape-silhouette
EXCL=--exclude \*.orig --exclude \*.pyc
ALL=README.md *.png *.sh *.rules *.py *.inx examples misc silhouette
-VERS=$$(python ./sendto_silhouette.py --version)
+VERS=$$(python3 ./sendto_silhouette.py --version)
-## echo '
-sudo apt install python-pip python-setuptools -sudo pip install --upgrade pyusb +sudo apt install python3-pip python3-setuptools +sudo pip3 install --upgrade pyusbdiff --git a/distribute/deb/dist.sh b/distribute/deb/dist.sh index 307eca7e..26d8a387 100644 --- a/distribute/deb/dist.sh +++ b/distribute/deb/dist.sh @@ -5,11 +5,11 @@ name=$1 vers=$2 url=http://github.com/fablabnbg/$name # versioned dependencies need \ escapes to survive checkinstall mangling. -# requires="python-usb\ \(\>=1.0.0\), bash" +# requires="python3-usb\ \(\>=1.0.0\), bash" ## not even ubuntu 16.04 has python-usb 1.0, we requre any python-usb ## and check at runtime again. -requires="python-usb, bash" +requires="python3-usb, bash" tmp=../out diff --git a/distribute/distribute.sh b/distribute/distribute.sh index 7cd64be0..bd4e61e4 100755 --- a/distribute/distribute.sh +++ b/distribute/distribute.sh @@ -1,6 +1,6 @@ #!/bin/bash echo "Determining Version:" -VERSION=$(python ../sendto_silhouette.py --version) +VERSION=$(python3 ../sendto_silhouette.py --version) test -e /usr/bin/xpath || sudo apt-get install libxml-xpath-perl test -e /usr/bin/checkinstall || sudo apt-get install checkinstall