mirror of
https://github.com/certbot/certbot.git
synced 2026-06-03 13:59:02 -04:00
* Drop support for EOL Python 2.6 * Use more helpful assertIn/NotIn instead of assertTrue/False * Drop support for EOL Python 3.3 * Remove redundant Python 3.3 code * Restore code for RHEL 6 and virtualenv for Py2.7 * Revert pipstrap.py to upstream * Merge py26_packages and non_py26_packages into all_packages * Revert changes to *-auto in root * Update by calling letsencrypt-auto-source/build.py * Revert permissions for pipstrap.py
18 lines
508 B
Bash
Executable file
18 lines
508 B
Bash
Executable file
#!/bin/bash -x
|
|
XDG_DATA_HOME=${XDG_DATA_HOME:-~/.local/share}
|
|
VENV_NAME="venv"
|
|
# The path to the letsencrypt-auto script. Everything that uses these might
|
|
# at some point be inlined...
|
|
LEA_PATH=./letsencrypt/
|
|
VENV_PATH=${LEA_PATH/$VENV_NAME}
|
|
VENV_BIN=${VENV_PATH}/bin
|
|
|
|
|
|
# virtualenv call is not idempotent: it overwrites pip upgraded in
|
|
# later steps, causing "ImportError: cannot import name unpack_url"
|
|
|
|
"$LEA_PATH/letsencrypt-auto" --os-packages-only
|
|
|
|
cd letsencrypt
|
|
./tools/venv.sh
|
|
venv/bin/tox -e py27
|