Skip to content

Commit 6144a57

Browse files
committed
More robust paths
1 parent 92a308a commit 6144a57

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
cython_extensions = [
2727
Extension('stochastic_arrow.arrowhead',
2828
sources=[
29-
'stochastic_arrow/mersenne.c',
30-
'stochastic_arrow/obsidian.c',
31-
'stochastic_arrow/arrowhead'+ext,],
29+
os.path.join(arrow_dir, 'mersenne.c'),
30+
os.path.join(arrow_dir, 'obsidian.c'),
31+
os.path.join(arrow_dir, '/arrowhead'+ext),],
3232
include_dirs=[arrow_dir, np.get_include()],
3333
define_macros=[('NPY_NO_DEPRECATED_API', 'NPY_1_7_API_VERSION')],
3434
)]

0 commit comments

Comments
 (0)