10000 Update packages and python version for Ubuntu 16.04 LTS · rgbkrk/ipython-notebook-cookbook@14b064e · GitHub
[go: up one dir, main page]

Skip to content

Commit 14b064e

Browse files
committed
Update packages and python version for Ubuntu 16.04 LTS
1 parent 146b42a commit 14b064e

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

attributes/default.rb

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,25 @@
120120
default[:ipynb][:virtenv] = nil #File.join(default[:ipynb][:home_dir], ".ipyvirt")
121121

122122
# Version of Python to use
123-
default[:ipynb][:py_version] = "python2.7"
123+
default[:ipynb][:py_version] = "python3.5"
124+
default[:ipynb][:py_version] = "python2.7" if node['platform_version'] == '16.04'
124125

125126
################################################################################
126127
# Software Stack (system packages)
127128
################################################################################
128129

129130
# System packages, at least for Ubuntu (naming may change)
130131
case node['platform_version']
132+
when '16.04'
133+
default[:ipynb][:system_packages] = %w(
134+
build-essential libcurl4-openssl-dev libssl-dev zlib1g-dev libpcre3-dev
135+
gfortran libblas-dev liblapack-dev libncurses5-dev libatlas-base-dev
136+
libscalapack-openmpi1 libscalapack-pvm1 python-pil-doc python-pil-dbg
137+
libjpeg-turbo8 libjpeg8 python-imaging libpng12-0 libpng12-dev
138+
libfreetype6 libfreetype6-dev python-pycurl-dbg git-core
139+
cython libhdf5-serial-dev python-egenix-mxdatetime vim python-numpy
140+
python-scipy pandoc
141+
)
131142
when '14.04'
132143
default[:ipynb][:system_packages] = %w(
133144
build-essential libcurl4-openssl-dev libssl-dev zlib1g-dev libpcre3-dev

0 commit comments

Comments
 (0)
0