mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2026-09-10 07:16:18 -04:00
24 lines
371 B
Bash
Executable file
24 lines
371 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
if [ -z "${PREFIX}" ]; then
|
|
PREFIX="/usr/local"
|
|
fi
|
|
|
|
BIN_PATH="${PREFIX}/bin"
|
|
LIBEXEC_PATH="${PREFIX}/libexec/python-virtualenv"
|
|
|
|
mkdir -p "${BIN_PATH}"
|
|
mkdir -p "${LIBEXEC_PATH}"
|
|
|
|
for file in bin/*; do
|
|
cp "${file}" "${BIN_PATH}"
|
|
done
|
|
|
|
for file in libexec/*; do
|
|
cp "${file}" "${LIBEXEC_PATH}"
|
|
done
|
|
|
|
echo "Installed python-virtualenv at ${PREFIX}"
|