forked from github.com/pypiserver
Local certfile
This commit is contained in:
parent
c6a8568e74
commit
45cc42c5a6
@ -1,4 +1,4 @@
|
|||||||
sudo: true
|
sudo: false
|
||||||
language: python
|
language: python
|
||||||
python: 3.5
|
python: 3.5
|
||||||
env:
|
env:
|
||||||
|
3865
bin/cacert.pem
Normal file
3865
bin/cacert.pem
Normal file
File diff suppressed because it is too large
Load Diff
@ -28,6 +28,7 @@ gitversion=$(git describe --tags)
|
|||||||
rm -rf .standalone
|
rm -rf .standalone
|
||||||
if nwd_dump=$( "$git_wdir" . .standalone standalone 2>&1 ); then
|
if nwd_dump=$( "$git_wdir" . .standalone standalone 2>&1 ); then
|
||||||
./bin/gen-standalone.sh
|
./bin/gen-standalone.sh
|
||||||
|
mkdir .standalone
|
||||||
cp -p pypi-server-standalone.py .standalone
|
cp -p pypi-server-standalone.py .standalone
|
||||||
cd .standalone
|
cd .standalone
|
||||||
if [ $# -lt 1 ]; then
|
if [ $# -lt 1 ]; then
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
## Create an executable zip file.
|
## Create an executable zip file.
|
||||||
## Invoked by `commit-standalone.sh`.
|
## Invoked by `commit-standalone.sh`.
|
||||||
|
|
||||||
sex -x
|
set -x
|
||||||
|
|
||||||
set -o errexit
|
set -o errexit
|
||||||
|
|
||||||
@ -22,12 +22,14 @@ wheel="./dist/pypiserver-*.whl"
|
|||||||
# prepend it with a python-flashbang + some header-comments >= 10-lines
|
# prepend it with a python-flashbang + some header-comments >= 10-lines
|
||||||
# so that ``head pypiserver*.py``behaves politely.
|
# so that ``head pypiserver*.py``behaves politely.
|
||||||
#
|
#
|
||||||
sudo update-ca-certificates
|
|
||||||
unzip -jo $wheel pypiserver/__main__.py -d ./dist
|
unzip -jo $wheel pypiserver/__main__.py -d ./dist
|
||||||
zip -d $wheel pypiserver/__main__.py
|
zip -d $wheel pypiserver/__main__.py
|
||||||
zip -mj $wheel ./dist/__main__.py
|
zip -mj $wheel ./dist/__main__.py
|
||||||
wget https://pypi.python.org/packages/2.7/p/passlib/passlib-1.6.5-py2.py3-none-any.whl#md5=03de8f28697eaa67835758a60386c9fa \
|
|
||||||
|
wget --ca-certificate=./bin/cacert.pem \
|
||||||
|
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
|
-O ./dist/passlib-1.6.5-py2.py3-none-any.whl
|
||||||
|
|
||||||
zip -mj $wheel ./dist/passlib-*.whl
|
zip -mj $wheel ./dist/passlib-*.whl
|
||||||
gitversion=$(git describe --tags)
|
gitversion=$(git describe --tags)
|
||||||
cat - $wheel > "$exec_zip" << EOF
|
cat - $wheel > "$exec_zip" << EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user