source: sasview/Vagrantprovision.sh @ 4ba4b69

Last change on this file since 4ba4b69 was 795ea6a2, checked in by Tobias Richter <tobias.richter@…>, 10 years ago

specifically set CTYPE

seems the Mac is passing in unrecognised CYTPE of UTF-8 (with no lang prefix)
leads to occasional error messages (e.g. in pylint) and this get around that

  • Property mode set to 100644
File size: 729 bytes
Line 
1#! /bin/bash
2
3sed -i 's,http://us.archive.ubuntu.com/ubuntu/,mirror://mirrors.ubuntu.com/mirrors.txt,' /etc/apt/sources.list
4apt-get update
5
6apt-get install -y xvfb git python-pip pkg-config libfreetype6-dev libpng-dev python-dev python-wxtools pylint python-matplotlib python-numpy python-sphinx python-xmlrunner python-pisa python-setuptools python-scipy python-pyparsing python-html5lib python-reportlab python-lxml python-pil
7pip install bumps comtypes periodictable
8
9cat >> ~vagrant/.bashrc <<EOF
10export LANG=en_US.UTF-8
11export LC_ALL=en_US.UTF-8
12export LC_CTYPE=en_US.UTF-8
13sasview-compile() {
14cd /vagrant
15sh ./build_tools/jenkins_linux_build.sh
16}
17sasview-test() {
18cd /vagrant
19sh ./build_tools/jenkins_linux_test.sh
20}
21EOF
Note: See TracBrowser for help on using the repository browser.