"vscode:/vscode.git/clone" did not exist on "bd319959cd504b718685e720cbd4f47408ee1835"
Unverified Commit 537d37c2 authored by Minjie Wang's avatar Minjie Wang Committed by GitHub
Browse files

[Misc] add requests as the package dependency (#1268)

parent f8d4264e
......@@ -18,6 +18,7 @@ requirements:
- numpy
- scipy
- networkx
- requests
build:
script_env:
......
......@@ -9,16 +9,10 @@ import zipfile
import tarfile
import numpy as np
import warnings
import requests
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',
'get_download_dir', 'Subset', 'split_dataset',
'save_graphs', "load_graphs", "load_labels"]
......
......@@ -121,6 +121,7 @@ setup(
'numpy>=1.14.0',
'scipy>=1.1.0',
'networkx>=2.1',
'requests>=2.19.0',
],
url='https://github.com/dmlc/dgl',
distclass=BinaryDistribution,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment