Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
src/sage_setup/command/sage_build_cython.py: Fix adding setup.py as d…
Browse files Browse the repository at this point in the history
…ependency
  • Loading branch information
mkoeppe committed Jun 3, 2020
1 parent 2b42029 commit a830304
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage_setup/command/sage_build_cython.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def create_extension(self, template, kwds):
key=lambda lib: library_order.get(lib, 0))

# Dependencies: add setup.py and lib_headers
depends = kwds.get('depends', []) + [__file__]
depends = kwds.get('depends', []) + [self.distribution.script_name]
for lib, headers in lib_headers.items():
if lib in libs:
depends += headers
Expand Down

0 comments on commit a830304

Please sign in to comment.