File: setup.sh

package info (click to toggle)
python-tornado 6.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 3,176 kB
  • sloc: python: 28,920; javascript: 156; sh: 100; ansic: 72; xml: 49; makefile: 49; sql: 23
file content (32 lines) | stat: -rw-r--r-- 556 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/sh

set -e

apt-get update

# libcurl4-gnutls-dev is the default if you ask for libcurl4-dev, but it
# has bugs that make our tests deadlock (the relevant tests detect this and
# disable themselves, but it means that to get full coverage we have to use
# the openssl version).
APT_PACKAGES="
python-pip
python-dev
python3-pycurl
libcurl4-openssl-dev
"

apt-get -y install $APT_PACKAGES

# Ubuntu 14.04 includes python 2.7 and 3.4.

PIP_PACKAGES="
futures
pycurl
tox
twisted
virtualenv
"

pip install $PIP_PACKAGES

/tornado/maint/vm/shared-setup.sh