Added make packages target to build egg and wheel.
This commit is contained in:
committed by
Connor Doyle
parent
a35e3c6a21
commit
b6b5ca355d
3
Makefile
3
Makefile
@@ -11,3 +11,6 @@ test:
|
|||||||
|
|
||||||
doc:
|
doc:
|
||||||
bin/doc.sh
|
bin/doc.sh
|
||||||
|
|
||||||
|
packages:
|
||||||
|
bin/packages.sh
|
||||||
|
|||||||
@@ -17,8 +17,4 @@ if [ ! -f "$BASEDIR/env/updated" -o $BASEDIR/setup.py -nt $BASEDIR/env/updated ]
|
|||||||
echo "Requirements installed."
|
echo "Requirements installed."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pip install tox
|
pip install -r $BASEDIR/requirements.txt
|
||||||
echo "Tox installed."
|
|
||||||
|
|
||||||
pip install Sphinx
|
|
||||||
echo "Sphinx installed."
|
|
||||||
|
|||||||
8
bin/packages.sh
Executable file
8
bin/packages.sh
Executable 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
3
requirements.txt
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
sphinx
|
||||||
|
tox
|
||||||
|
wheel
|
||||||
Reference in New Issue
Block a user