File tree Expand file tree Collapse file tree 3 files changed +29
-6
lines changed Expand file tree Collapse file tree 3 files changed +29
-6
lines changed Original file line number Diff line number Diff line change @@ -95,8 +95,14 @@ Optional dependencies
95
95
- Both `html5lib <https://github.com/html5lib/html5lib-python >`__ **and **
96
96
`Beautiful Soup 4 <http://www.crummy.com/software/BeautifulSoup >`__: for
97
97
reading HTML tables
98
- - These can both easily be installed by ``pip install html5lib `` and ``pip
99
- install beautifulsoup4 ``.
98
+
99
+ .. warning ::
100
+
101
+ If you are on a 32-bit machine you need to install an older version of
102
+ Beautiful Soup. Version 4.0.2 of BeautifulSoup has been tested on Ubuntu
103
+ 12.04.02 32-bit.
104
+
105
+ - Any recent version of ``html5lib `` is okay.
100
106
- `boto <https://pypi.python.org/pypi/boto >`__: necessary for Amazon S3 access.
101
107
102
108
Original file line number Diff line number Diff line change 30
30
# scipy is not included in the cached venv
31
31
if [ x" $FULL_DEPS " == x" true" ] ; then
32
32
# for pytables gets the lib as well
33
- sudo apt-get $APT_ARGS install libhdf5-serial-dev;
33
+ sudo apt-get $APT_ARGS install libhdf5-serial-dev
34
+
35
+ if [ ${TRAVIS_PYTHON_VERSION: 0: 1} == " 3" ]; then
36
+ sudo apt-get $APT_ARGS install python3-bs4
37
+ elif [ ${TRAVIS_PYTHON_VERSION: 0: 1} == " 2" ]; then
38
+ sudo apt-get $APT_ARGS install python-bs4
39
+ fi
34
40
35
41
if [ ${TRAVIS_PYTHON_VERSION} == " 3.2" ]; then
36
42
sudo apt-get $APT_ARGS install python3-scipy
@@ -76,8 +82,13 @@ if ( ! $VENV_FILE_AVAILABLE ); then
76
82
pip install $PIP_ARGS ' http://downloads.sourceforge.net/project/pytseries/scikits.timeseries/0.91.3/scikits.timeseries-0.91.3.tar.gz?r='
77
83
pip install $PIP_ARGS patsy
78
84
pip install $PIP_ARGS lxml
79
- pip install $PIP_ARGS beautifulsoup4
85
+ pip install $PIP_ARGS html5lib
80
86
87
+ if [ ${TRAVIS_PYTHON_VERSION: 0: 1} == " 3" ]; then
88
+ sudo apt-get $APT_ARGS remove python3-lxml
89
+ elif [ ${TRAVIS_PYTHON_VERSION: 0: 1} == " 2" ]; then
90
+ sudo apt-get $APT_ARGS remove python-lxml
91
+ fi
81
92
# fool statsmodels into thinking pandas was already installed
82
93
# so it won't refuse to install itself. We want it in the zipped venv
83
94
Original file line number Diff line number Diff line change @@ -102,8 +102,14 @@ Optional Dependencies
102
102
* Both `html5lib <https://github.com/html5lib/html5lib-python >`__ **and **
103
103
`Beautiful Soup 4 <http://www.crummy.com/software/BeautifulSoup >`__: for
104
104
reading HTML tables
105
- * These can both easily be installed by ``pip install html5lib `` and ``pip
106
- install beautifulsoup4 ``.
105
+
106
+ .. warning ::
107
+
108
+ If you are on a 32-bit machine you need to install an older version of
109
+ Beautiful Soup. Version 4.0.2 of BeautifulSoup has been tested on Ubuntu
110
+ 12.04.02 32-bit.
111
+
112
+ * Any recent version of ``html5lib `` is okay.
107
113
108
114
.. note ::
109
115
You can’t perform that action at this time.
0 commit comments