diff --git a/.travis.yml b/.travis.yml index 5523b82..bc92a0d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,4 @@ -sudo: false +sudo: travis language: python python: 3.5 env: diff --git a/bin/gen-standalone.sh b/bin/gen-standalone.sh index 7f92b54..9f0d886 100755 --- a/bin/gen-standalone.sh +++ b/bin/gen-standalone.sh @@ -22,14 +22,12 @@ wheel="./dist/pypiserver-*.whl" # prepend it with a python-flashbang + some header-comments >= 10-lines # so that ``head pypiserver*.py``behaves politely. # +sudo update-ca-certificates unzip -jo $wheel pypiserver/__main__.py -d ./dist zip -d $wheel pypiserver/__main__.py zip -mj $wheel ./dist/__main__.py - -wget --no-check-certificate \ - https://pypi.python.org/packages/2.7/p/passlib/passlib-1.6.5-py2.py3-none-any.whl#md5=03de8f28697eaa67835758a60386c9fa \ +wget https://pypi.python.org/packages/2.7/p/passlib/passlib-1.6.5-py2.py3-none-any.whl#md5=03de8f28697eaa67835758a60386c9fa \ -O ./dist/passlib-1.6.5-py2.py3-none-any.whl - zip -mj $wheel ./dist/passlib-*.whl gitversion=$(git describe --tags) cat - $wheel > "$exec_zip" << EOF