Skip to content

Commit c4082be

Browse files
committed
add cython ext
1 parent 2f62222 commit c4082be

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

python/setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717

1818
class BinaryDistribution(Distribution):
1919
def has_ext_modules(self):
20-
return platform.system() == 'Darwin'
20+
#return platform.system() == 'Darwin'
21+
return True
2122

2223
CURRENT_DIR = os.path.dirname(__file__)
2324

@@ -58,7 +59,7 @@ def config_cython():
5859
path = "dgl/_ffi/_cython"
5960
if os.name == 'nt':
6061
library_dirs = ['dgl', '../build/Release', '../build']
61-
libraries = ['libtvm']
62+
libraries = ['libdgl']
6263
else:
6364
library_dirs = None
6465
libraries = None

0 commit comments

Comments
 (0)