Merge pull request #48 from mesosphere/egg-and-wheel

Added make packages target to build egg and wheel.
This commit is contained in:
José Armando García Sancio
2015-02-23 13:46:23 -08:00
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