Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gcattan authored Oct 3, 2023
1 parent 9474f83 commit b09c96a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import os.path as op
import numpy

from setuptools import setup, find_packages
from setuptools import setup, find_packages, Extension


# get the version (don't import mne here, so dependencies are not needed)
Expand All @@ -24,6 +25,14 @@
author_email='gcattan@hotmail.com',
license='BSD (3-clause)',
packages=find_packages(),
# https://stackoverflow.com/questions/44994866/efficient-pairwise-dtw-calculation-using-numpy-or-cython
extensions = [Extension(
'fastdtw._fastdtw',
[os.path.join('fastdtw', '_fastdtw' + ext)],
language="c++",
include_dirs=[numpy.get_include()], # AND ADDED numpy.get_include()
libraries=["stdc++"]
)]
long_description=long_description,
long_description_content_type='text/markdown',
project_urls={
Expand Down

0 comments on commit b09c96a

Please sign in to comment.