diff --git a/setup.py b/setup.py index 232bc45fcb..e5390a7a61 100755 --- a/setup.py +++ b/setup.py @@ -405,7 +405,7 @@ def initialize_options(self): def run(self): subprocess.check_call([ "sphinx-build", "-b", "htmlhelp", "-d", "build/doctrees", - "--define", f"version={VERSION}", + "-D", f"version={VERSION}", "source", "build" ], cwd="doc/visual-programming"