mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2025-11-08 11:33:55 -05: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}"
|