Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sab_pyhsmm
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sebastian Bruijns
sab_pyhsmm
Commits
a78ce4c3
Commit
a78ce4c3
authored
8 years ago
by
Matthew Johnson
Browse files
Options
Downloads
Patches
Plain Diff
attempt to fix python 3.4 urlretrieve import
parent
e56e4450
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.travis.yml
+1
-0
1 addition, 0 deletions
.travis.yml
setup.py
+4
-1
4 additions, 1 deletion
setup.py
with
5 additions
and
1 deletion
.travis.yml
+
1
−
0
View file @
a78ce4c3
...
...
@@ -2,6 +2,7 @@ sudo: false
language
:
python
python
:
-
"
2.7"
-
"
3.4"
notifications
:
email
:
false
addons
:
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
4
−
1
View file @
a78ce4c3
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment