forked from github.com/pypiserver

+ Standalone executable based on wheel. + Properly use `pkg_resources` so reading `welcome-msg` file works even from within zip. + Mark `zip_safe=True` in setup.py. + Delete forgotten distutils startup script. + Build standalone before installing anything else, to check if any deps are missing. + Restore py25 in Travis.
17 lines
366 B
Bash
Executable File
17 lines
366 B
Bash
Executable File
#! /bin/sh
|
|
## Test standalone generation & execution.
|
|
##
|
|
|
|
my_dir="$(dirname "$0")"
|
|
cd $my_dir/..
|
|
|
|
git fetch origin standalone:origin/standalone
|
|
git branch --track standalone origin/standalone
|
|
./bin/commit-standalone.sh no_commit
|
|
|
|
./pypi-server-standalone.py . &
|
|
server_pid=$!
|
|
sleep 2
|
|
|
|
kill $server_pid && echo "Server killed nicely." # Kill fails if server failed.
|