Added make packages target to build egg and wheel.
This commit is contained in:
committed by
Connor Doyle
parent
a35e3c6a21
commit
b6b5ca355d
@@ -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
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