File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 120
120
default [ :ipynb ] [ :virtenv ] = nil #File.join(default[:ipynb][:home_dir], ".ipyvirt")
121
121
122
122
# 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'
124
125
125
126
################################################################################
126
127
# Software Stack (system packages)
127
128
################################################################################
128
129
129
130
# System packages, at least for Ubuntu (naming may change)
130
131
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
+ )
131
142
when '14.04'
132
143
default [ :ipynb ] [ :system_packages ] = %w(
133
144
build-essential libcurl4-openssl-dev libssl-dev zlib1g-dev libpcre3-dev
You can’t perform that action at this time.
0 commit comments