diff --git a/Makefile b/Makefile index 3a73229..79bdc84 100644 --- a/Makefile +++ b/Makefile @@ -11,3 +11,6 @@ test: doc: bin/doc.sh + +packages: + bin/packages.sh diff --git a/bin/env.sh b/bin/env.sh index 3d9c92f..9a38f4c 100755 --- a/bin/env.sh +++ b/bin/env.sh @@ -17,8 +17,4 @@ if [ ! -f "$BASEDIR/env/updated" -o $BASEDIR/setup.py -nt $BASEDIR/env/updated ] echo "Requirements installed." fi -pip install tox -echo "Tox installed." - -pip install Sphinx -echo "Sphinx installed." +pip install -r $BASEDIR/requirements.txt diff --git a/bin/packages.sh b/bin/packages.sh new file mode 100755 index 0000000..4cf5cb5 --- /dev/null +++ b/bin/packages.sh @@ -0,0 +1,8 @@ +#!/bin/bash -e + +echo "Building wheel..." +python setup.py bdist_wheel + +echo "Building egg..." +python setup.py sdist + diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..fd81402 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +sphinx +tox +wheel