mirror of
https://github.com/wassname/scikit-image.git
synced 2026-09-09 11:33:41 +08:00
Removed Python 2.6 support and related checks
This commit is contained in:
@@ -32,13 +32,6 @@ retry () {
|
||||
# add build dependencies
|
||||
echo "cython>=0.23.4" >> requirements.txt
|
||||
|
||||
# require networkx 1.9.1 on 2.6, as 2.6 support was dropped in 1.10
|
||||
# require matplotlib 1.4.3 on 2.6, as 2.6 support was dropped in 1.5
|
||||
if [[ $TRAVIS_PYTHON_VERSION == 2.6* ]]; then
|
||||
sed -i 's/networkx.*/networkx==1.9.1/g' requirements.txt
|
||||
sed -i 's/matplotlib.*/matplotlib==1.4.3/g' requirements.txt
|
||||
fi
|
||||
|
||||
if [[ $MINIMUM_REQUIREMENTS == 1 ]]; then
|
||||
sed -i 's/>=/==/g' requirements.txt
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user