diff --git a/build_deb.sh b/build_deb.sh new file mode 100755 index 00000000..5461283d --- /dev/null +++ b/build_deb.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +VERSION=`cat version` + +# clean up from last build +rm -r deb_dist + +# build binary package +python setup.py --command-packages=stdeb.command bdist_deb + +# install it +echo "" +echo "To install, run:" +echo "sudo dpkg -i deb_dist/onionshare_$VERSION-1_all.deb" diff --git a/build_rpm.sh b/build_rpm.sh new file mode 100755 index 00000000..acd2aed1 --- /dev/null +++ b/build_rpm.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +VERSION=`cat version` + +# clean up from last build +rm -r build dist + +# build binary package +python setup.py bdist_rpm --requires="python-flask, python-stem, pywebkitgtk" + +# install it +echo "" +echo "To install, run:" +echo "sudo yum install dist/onionshare-$VERSION-1.noarch.rpm" diff --git a/stdeb.cfg b/stdeb.cfg new file mode 100644 index 00000000..dd6d3293 --- /dev/null +++ b/stdeb.cfg @@ -0,0 +1,4 @@ +[DEFAULT] +Package: onionshare +Depends: python-flask, python-stem, python-webkit +Suite: trusty