Skip to content

Commit

Permalink
Make sure dist permissions are sufficient
Browse files Browse the repository at this point in the history
  • Loading branch information
tgsmith61591 committed Jul 29, 2017
1 parent 663f4e5 commit 0402f5e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion build_tools/travis/after_success.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@ pip install twine || "pip installing twine failed"
# remove the .egg-info dir so Mac won't bomb on bdist_wheel cmd (absolute path in SOURCES.txt)
rm -r pyramid_arima.egg-info/ || echo "No local .egg cache to remove"

# make a dist folder if not there
# make a dist folder if not there, then make sure permissions are sufficient
mkdir -p dist
chmod 777 dist
5 changes: 4 additions & 1 deletion build_tools/travis/build_wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,15 @@ if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
done
done
elif [ "${TRAVIS_OS_NAME}" == "osx" ]; then
echo "todo: build OS X python wheels"
# this should be all that's required, right? We already removed the .egg-info
# directory so no locally cached SOURCES.txt with absolute paths will blow things up
python setup.py bdist_wheel
else
echo "Cannot build on ${TRAVIS_OS_NAME}."
fi

# only one env will have us build the tar file for src dist
if [[ "$BUILD_TAR" ]]; then
echo "Building .tar for source release to pypi"
python setup.py sdist
fi

0 comments on commit 0402f5e

Please sign in to comment.