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
language: python
python:
- "2.7"
- "3.4"
notifications:
email: false
addons:
......
......@@ -8,10 +8,13 @@ from warnings import warn
import os
import sys
from glob import glob
from future.moves.urllib.request import urlretrieve
import tarfile
import shutil
from future.standard_library import install_aliases
install_aliases()
from urllib.request import urlretrieve
# use cython if we can import it successfully
try:
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