Skip to content

Commit

Permalink
add cython ext
Browse files Browse the repository at this point in the history
  • Loading branch information
jermainewang committed Mar 8, 2019
1 parent 2f62222 commit c4082be
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@

class BinaryDistribution(Distribution):
def has_ext_modules(self):
return platform.system() == 'Darwin'
#return platform.system() == 'Darwin'
return True

CURRENT_DIR = os.path.dirname(__file__)

Expand Down Expand Up @@ -58,7 +59,7 @@ def config_cython():
path = "dgl/_ffi/_cython"
if os.name == 'nt':
library_dirs = ['dgl', '../build/Release', '../build']
libraries = ['libtvm']
libraries = ['libdgl']
else:
library_dirs = None
libraries = None
Expand Down

0 comments on commit c4082be

Please sign in to comment.