Skip to content

Commit

Permalink
update paths to headers for extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
daler committed Nov 21, 2018
1 parent 3cfc7c2 commit 6110980
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,18 +196,18 @@ def run(self):
extensions = [
Extension(
'pybedtools.cbedtools',
depends=glob.glob('src/*h'),
depends=glob.glob('pybedtools/include/*h'),
libraries=['stdc++', 'z'],
include_dirs=['src/'],
sources=['pybedtools/cbedtools' + EXT] + glob.glob('src/*.cpp'),
include_dirs=['pybedtools/include/'],
sources=['pybedtools/cbedtools' + EXT] + glob.glob('pybedtools/include/*.cpp'),
language='c++'),

Extension(
'pybedtools.featurefuncs',
depends=glob.glob('src/*h'),
depends=glob.glob('pybedtools/include/*h'),
libraries=['stdc++', 'z'],
include_dirs=['src/'],
sources=['pybedtools/featurefuncs' + EXT] + glob.glob('src/*.cpp'),
include_dirs=['pybedtools/include/'],
sources=['pybedtools/featurefuncs' + EXT] + glob.glob('pybedtools/include/*.cpp'),
language='c++'),
]

Expand Down Expand Up @@ -275,9 +275,10 @@ def run(self):
"*.pxd",
"*.cxx",
"*.c",
"*.cpp"]
"*.cpp"],
'src': ['src/*'],
},
include_package_data=False,
include_package_data=True,
scripts=['pybedtools/scripts/venn_gchart.py',
'pybedtools/scripts/venn_mpl.py',
'pybedtools/scripts/annotate.py',
Expand Down

0 comments on commit 6110980

Please sign in to comment.