"docs/source/vscode:/vscode.git/clone" did not exist on "303b150f8c6b6dbd6ea2b3ca724ded64ae14cb5f"
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
git submodule update
md 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
mingw32-make
if errorlevel 1 exit 1
......
package:
name: dgl
version: "0.1.0"
version: "0.1.2"
source:
git_rev: 0.1.2
git_url: https://github.com/jermainewang/dgl.git
requirements:
......@@ -10,6 +11,7 @@ requirements:
- python {{ python }}
- setuptools
- cmake
- git
- m2w64-gcc # [win]
- m2w64-make # [win]
run:
......
......@@ -3,7 +3,7 @@ Environment Variables
Backend Options
---------------
* ``DGLBACKEND``
* ``DGLBACKEND``:
* Values: String (default='pytorch')
* The backend deep lerarning framework for DGL.
* Choices:
......@@ -12,9 +12,12 @@ Backend Options
Data Repository
---------------
* ``DGL_REPO``
* ``DGL_REPO``:
* 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.
* Suggested values:
* '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
* ``DGL_DOWNLOAD_DIR``:
* Values: String (default="${HOME}/.dgl")
* The local directory to cache the downloaded data.
......@@ -33,7 +33,7 @@
#endif
// DGL version
#define DGL_VERSION "0.1.0"
#define DGL_VERSION "0.1.2"
// DGL Runtime is DLPack compatible.
......
......@@ -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
# that is under development.
# 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():
dirname : str
Path to the download directory
"""
curr_path = os.path.dirname(os.path.abspath(os.path.expanduser(__file__)))
dirname = os.path.join(curr_path, '../../../_download')
default_dir = os.path.join(os.path.expanduser('~'), '.dgl')
dirname = os.environ.get('DGL_DOWNLOAD_DIR', default_dir)
if not os.path.exists(dirname):
os.makedirs(dirname)
return dirname
......@@ -11,7 +11,7 @@ import re
# current version
# We use the version of the incoming release for code
# that is under development
__version__ = "0.1.0"
__version__ = "0.1.2"
# Implementations
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