Added make packages target to build egg and wheel.

This commit is contained in:
Connor Doyle
2015-02-22 23:08:32 -08:00
committed by Connor Doyle
parent a35e3c6a21
commit b6b5ca355d
4 changed files with 15 additions and 5 deletions

View File

@@ -11,3 +11,6 @@ test:
doc:
bin/doc.sh
packages:
bin/packages.sh

View File

@@ -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

8
bin/packages.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash -e
echo "Building wheel..."
python setup.py bdist_wheel
echo "Building egg..."
python setup.py sdist

3
requirements.txt Normal file
View File

@@ -0,0 +1,3 @@
sphinx
tox
wheel