Skip to content

Commit

Permalink
edit optional= as well
Browse files Browse the repository at this point in the history
  • Loading branch information
cielavenir committed Aug 28, 2023
1 parent 2d97823 commit 41b80c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def build_extension(self, ext):
info = sys.exc_info()
logging.warn("building %s failed with %s: %s", ext.name, info[0], info[1])

extension = Extension('_scandir', ['_scandir.c'], optional=True)
extension = Extension('_scandir', ['_scandir.c'], optional=not require_scandir_extension)


setup(
Expand Down

0 comments on commit 41b80c2

Please sign in to comment.