Skip to content

Commit

Permalink
tidied up location of cpp files by defining include dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy McRae committed Jun 6, 2017
1 parent 7cf7c1c commit a4d468e
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 9 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ cache/
build/
dist/
results/
denovonear/weights.cpp
denovonear/transcript.cpp
denovonear/site_specific_rates.cpp
denovonear/*.cpp
*.egg-info/
*.so
15 changes: 9 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,25 @@
Extension("denovonear.weights",
extra_compile_args=EXTRA_COMPILE_ARGS,
sources=["denovonear/weights.pyx",
"denovonear/weighted_choice.cpp",
"denovonear/simulate.cpp"],
"src/weighted_choice.cpp",
"src/simulate.cpp"],
include_dirs=["src/"],
language="c++"),
Extension("denovonear.transcript",
extra_compile_args=EXTRA_COMPILE_ARGS,
sources=[
"denovonear/transcript.pyx",
"denovonear/tx.cpp"],
"src/tx.cpp"],
include_dirs=["src/"],
language="c++"),
Extension("denovonear.site_specific_rates",
extra_compile_args=EXTRA_COMPILE_ARGS,
sources=[
"denovonear/site_specific_rates.pyx",
"denovonear/weighted_choice.cpp",
"denovonear/tx.cpp",
"denovonear/site_rates.cpp"],
"src/weighted_choice.cpp",
"src/tx.cpp",
"src/site_rates.cpp"],
include_dirs=["src/"],
language="c++"),
])

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit a4d468e

Please sign in to comment.