Skip to content

Commit

Permalink
sphinx build: use -D instead of --define for compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
markotoplak committed Dec 6, 2024
1 parent 6994748 commit afe94f0
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 @@ -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"
Expand Down

0 comments on commit afe94f0

Please sign in to comment.