Commit 37feb479 authored by Gan Quan's avatar Gan Quan Committed by Minjie Wang
Browse files

[Release] 0.1.2 updates (#276)

* 0.1.2 release

* oops

* more fixes on windows

* [Bugfix] fix download dir (#275)

* fix download dir

* add doc for the env var
parent 3564fdc5
...@@ -2,7 +2,7 @@ git submodule init ...@@ -2,7 +2,7 @@ git submodule init
git submodule update git submodule update
md build md build
cd build cd build
cmake -DCMAKE_CXX_FLAGS="-DDMLC_LOG_STACK_TRACE=0 -DDGL_EXPORTS" -DCMAKE_MAKE_PROGRAM=mingw32-make .. -G "MSYS Makefiles" cmake -DCMAKE_CXX_FLAGS="-DDMLC_LOG_STACK_TRACE=0 -DDGL_EXPORTS" -DCMAKE_MAKE_PROGRAM=mingw32-make .. -G "MinGW Makefiles"
if errorlevel 1 exit 1 if errorlevel 1 exit 1
mingw32-make mingw32-make
if errorlevel 1 exit 1 if errorlevel 1 exit 1
......
package: package:
name: dgl name: dgl
version: "0.1.0" version: "0.1.2"
source: source:
git_rev: 0.1.2
git_url: https://github.com/jermainewang/dgl.git git_url: https://github.com/jermainewang/dgl.git
requirements: requirements:
...@@ -10,6 +11,7 @@ requirements: ...@@ -10,6 +11,7 @@ requirements:
- python {{ python }} - python {{ python }}
- setuptools - setuptools
- cmake - cmake
- git
- m2w64-gcc # [win] - m2w64-gcc # [win]
- m2w64-make # [win] - m2w64-make # [win]
run: run:
......
...@@ -3,7 +3,7 @@ Environment Variables ...@@ -3,7 +3,7 @@ Environment Variables
Backend Options Backend Options
--------------- ---------------
* ``DGLBACKEND`` * ``DGLBACKEND``:
* Values: String (default='pytorch') * Values: String (default='pytorch')
* The backend deep lerarning framework for DGL. * The backend deep lerarning framework for DGL.
* Choices: * Choices:
...@@ -12,9 +12,12 @@ Backend Options ...@@ -12,9 +12,12 @@ Backend Options
Data Repository Data Repository
--------------- ---------------
* ``DGL_REPO`` * ``DGL_REPO``:
* Values: String (default='https://s3.us-east-2.amazonaws.com/dgl.ai/') * Values: String (default='https://s3.us-east-2.amazonaws.com/dgl.ai/')
* The repository url to be used for DGL datasets and pre-trained models. * The repository url to be used for DGL datasets and pre-trained models.
* Suggested values: * Suggested values:
* 'https://s3.us-east-2.amazonaws.com/dgl.ai/': DGL repo for U.S. * 'https://s3.us-east-2.amazonaws.com/dgl.ai/': DGL repo for U.S.
* 'https://s3-ap-southeast-1.amazonaws.com/dgl.ai.asia/': DGL repo for Asia * 'https://s3-ap-southeast-1.amazonaws.com/dgl.ai.asia/': DGL repo for Asia
* ``DGL_DOWNLOAD_DIR``:
* Values: String (default="${HOME}/.dgl")
* The local directory to cache the downloaded data.
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
#endif #endif
// DGL version // DGL version
#define DGL_VERSION "0.1.0" #define DGL_VERSION "0.1.2"
// DGL Runtime is DLPack compatible. // DGL Runtime is DLPack compatible.
......
...@@ -87,4 +87,4 @@ def find_lib_path(name=None, search_path=None, optional=False): ...@@ -87,4 +87,4 @@ def find_lib_path(name=None, search_path=None, optional=False):
# We use the version of the incoming release for code # We use the version of the incoming release for code
# that is under development. # that is under development.
# The following line is set by dgl/python/update_version.py # The following line is set by dgl/python/update_version.py
__version__ = "0.1.0" __version__ = "0.1.2"
...@@ -158,8 +158,8 @@ def get_download_dir(): ...@@ -158,8 +158,8 @@ def get_download_dir():
dirname : str dirname : str
Path to the download directory Path to the download directory
""" """
curr_path = os.path.dirname(os.path.abspath(os.path.expanduser(__file__))) default_dir = os.path.join(os.path.expanduser('~'), '.dgl')
dirname = os.path.join(curr_path, '../../../_download') dirname = os.environ.get('DGL_DOWNLOAD_DIR', default_dir)
if not os.path.exists(dirname): if not os.path.exists(dirname):
os.makedirs(dirname) os.makedirs(dirname)
return dirname return dirname
...@@ -11,7 +11,7 @@ import re ...@@ -11,7 +11,7 @@ import re
# current version # current version
# We use the version of the incoming release for code # We use the version of the incoming release for code
# that is under development # that is under development
__version__ = "0.1.0" __version__ = "0.1.2"
# Implementations # Implementations
def update(file_name, pattern, repl): def update(file_name, pattern, repl):
......
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