Skip to content
Snippets Groups Projects
Commit a78ce4c3 authored by Matthew Johnson's avatar Matthew Johnson
Browse files

attempt to fix python 3.4 urlretrieve import

parent e56e4450
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,7 @@ sudo: false ...@@ -2,6 +2,7 @@ sudo: false
language: python language: python
python: python:
- "2.7" - "2.7"
- "3.4"
notifications: notifications:
email: false email: false
addons: addons:
......
...@@ -8,10 +8,13 @@ from warnings import warn ...@@ -8,10 +8,13 @@ from warnings import warn
import os import os
import sys import sys
from glob import glob from glob import glob
from future.moves.urllib.request import urlretrieve
import tarfile import tarfile
import shutil import shutil
from future.standard_library import install_aliases
install_aliases()
from urllib.request import urlretrieve
# use cython if we can import it successfully # use cython if we can import it successfully
try: try:
from Cython.Distutils import build_ext as _build_ext from Cython.Distutils import build_ext as _build_ext
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment