Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
537d37c2
Unverified
Commit
537d37c2
authored
Feb 17, 2020
by
Minjie Wang
Committed by
GitHub
Feb 17, 2020
Browse files
[Misc] add requests as the package dependency (#1268)
parent
f8d4264e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
7 deletions
+3
-7
conda/dgl/meta.yaml
conda/dgl/meta.yaml
+1
-0
python/dgl/data/utils.py
python/dgl/data/utils.py
+1
-7
python/setup.py
python/setup.py
+1
-0
No files found.
conda/dgl/meta.yaml
View file @
537d37c2
...
@@ -18,6 +18,7 @@ requirements:
...
@@ -18,6 +18,7 @@ requirements:
-
numpy
-
numpy
-
scipy
-
scipy
-
networkx
-
networkx
-
requests
build
:
build
:
script_env
:
script_env
:
...
...
python/dgl/data/utils.py
View file @
537d37c2
...
@@ -9,16 +9,10 @@ import zipfile
...
@@ -9,16 +9,10 @@ import zipfile
import
tarfile
import
tarfile
import
numpy
as
np
import
numpy
as
np
import
warnings
import
warnings
import
requests
from
.graph_serialize
import
save_graphs
,
load_graphs
,
load_labels
from
.graph_serialize
import
save_graphs
,
load_graphs
,
load_labels
try
:
import
requests
except
ImportError
:
class
requests_failed_to_import
(
object
):
pass
requests
=
requests_failed_to_import
__all__
=
[
'loadtxt'
,
'download'
,
'check_sha1'
,
'extract_archive'
,
__all__
=
[
'loadtxt'
,
'download'
,
'check_sha1'
,
'extract_archive'
,
'get_download_dir'
,
'Subset'
,
'split_dataset'
,
'get_download_dir'
,
'Subset'
,
'split_dataset'
,
'save_graphs'
,
"load_graphs"
,
"load_labels"
]
'save_graphs'
,
"load_graphs"
,
"load_labels"
]
...
...
python/setup.py
View file @
537d37c2
...
@@ -121,6 +121,7 @@ setup(
...
@@ -121,6 +121,7 @@ setup(
'numpy>=1.14.0'
,
'numpy>=1.14.0'
,
'scipy>=1.1.0'
,
'scipy>=1.1.0'
,
'networkx>=2.1'
,
'networkx>=2.1'
,
'requests>=2.19.0'
,
],
],
url
=
'https://github.com/dmlc/dgl'
,
url
=
'https://github.com/dmlc/dgl'
,
distclass
=
BinaryDistribution
,
distclass
=
BinaryDistribution
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment