source: sasview/Vagrantprovision.sh @ f4d571b

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.2.2ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since f4d571b 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.