Skip to content

Commit

Permalink
version check for 0.1.1 (#141)
Browse files Browse the repository at this point in the history
* version check

* Fix

Co-authored-by: Ubuntu <ubuntu@ip-172-31-68-185.ec2.internal>
Co-authored-by: Ubuntu <ubuntu@ip-172-31-63-129.ec2.internal>
  • Loading branch information
3 people authored Aug 24, 2020
1 parent 32adef9 commit b76eb69
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python/dglke/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,10 @@
#!/usr/bin/env python3

import pkg_resources
from distutils.version import LooseVersion
import dgl

if LooseVersion(dgl.__version__) != '0.4.3':
raise Exception("DGL-KE 0.1.1 only work with DGL 0.4.3")

__version__ = pkg_resources.resource_string("dglke", "VERSION.txt").decode("utf-8").strip()

0 comments on commit b76eb69

Please sign in to comment.