mirror of
https://github.com/certbot/certbot.git
synced 2026-01-21 19:01:07 +03:00
Merge pull request #495 from kuba/bootstrap
Bootstrap: swig 3.0.5+ and other improvements
This commit is contained in:
2
Vagrantfile
vendored
2
Vagrantfile
vendored
@@ -8,8 +8,6 @@ VAGRANTFILE_API_VERSION = "2"
|
||||
$ubuntu_setup_script = <<SETUP_SCRIPT
|
||||
cd /vagrant
|
||||
sudo ./bootstrap/ubuntu.sh
|
||||
sudo apt-get -y --no-install-recommends install git-core
|
||||
# the above is required by the 'git+https' lines of requirements.txt
|
||||
if [ ! -d "venv" ]; then
|
||||
virtualenv --no-site-packages -p python2 venv
|
||||
./venv/bin/pip install -r requirements.txt -e .[dev,docs,testing]
|
||||
|
||||
@@ -1,2 +1,7 @@
|
||||
This directory contains scripts that install necessary OS-specific
|
||||
prerequisite dependencies (see docs/using.rst).
|
||||
prerequisite dependencies (see docs/using.rst).
|
||||
|
||||
General dependencies:
|
||||
- git-core: requirements.txt git+https://*
|
||||
- ca-certificates: communication with demo ACMO server at
|
||||
https://www.letsencrypt-demo.org, requirements.txt git+https://*
|
||||
|
||||
@@ -45,5 +45,15 @@ fi
|
||||
|
||||
apt-get update
|
||||
apt-get install -y --no-install-recommends \
|
||||
python python-setuptools "$virtualenv" python-dev gcc swig \
|
||||
dialog libaugeas0 libssl-dev libffi-dev ca-certificates dpkg-dev
|
||||
git-core \
|
||||
python \
|
||||
python-dev \
|
||||
"$virtualenv" \
|
||||
gcc \
|
||||
swig \
|
||||
dialog \
|
||||
libaugeas0 \
|
||||
libssl-dev \
|
||||
libffi-dev \
|
||||
ca-certificates \
|
||||
dpkg-dev \
|
||||
|
||||
@@ -30,7 +30,7 @@ are provided mainly for the :ref:`developers <hacking>` reference.
|
||||
In general:
|
||||
|
||||
* ``sudo`` is required as a suggested way of running privileged process
|
||||
* `swig`_ is required for compiling `m2crypto`_
|
||||
* `SWIG`_ is required for compiling `M2Crypto`_
|
||||
|
||||
.. _new-swig:
|
||||
.. note:: If your operating system uses SWIG 3.0.5+, you will need
|
||||
@@ -38,7 +38,7 @@ In general:
|
||||
requirements.txt`` instead of the standard ``pip
|
||||
install -r requirements.txt``.
|
||||
|
||||
* `augeas`_ is required for the ``python-augeas`` bindings
|
||||
* `Augeas`_ is required for the Python bindings
|
||||
|
||||
|
||||
Ubuntu
|
||||
@@ -117,6 +117,6 @@ The letsencrypt commandline tool has a builtin help:
|
||||
./venv/bin/letsencrypt --help
|
||||
|
||||
|
||||
.. _augeas: http://augeas.net/
|
||||
.. _m2crypto: https://github.com/M2Crypto/M2Crypto
|
||||
.. _swig: http://www.swig.org/
|
||||
.. _Augeas: http://augeas.net/
|
||||
.. _M2Crypto: https://github.com/M2Crypto/M2Crypto
|
||||
.. _SWIG: http://www.swig.org/
|
||||
|
||||
Reference in New Issue
Block a user