Skip to content

Commit

Permalink
Make extension depend on c++ files, so get rebuilt properly when c++ …
Browse files Browse the repository at this point in the history
…code is edited
  • Loading branch information
rmjarvis committed Nov 12, 2018
1 parent fd9004a commit 439dfba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,7 @@ def run_tests(self):
'undef_macros' : undef_macros })
ext=Extension("galsim._galsim",
py_sources,
depends = cpp_sources + headers,
undef_macros = undef_macros)

build_dep = ['setuptools>=38', 'pybind11>=2.2']
Expand Down

0 comments on commit 439dfba

Please sign in to comment.