forked from pyinstaller/pyinstaller
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
building: Allow usage of VSVersionInfo again.
Fixes pyinstaller#4381: The option to pass a VSVersionInfo object as version argument to EXE was a feature that was explicitly implemented, but was overlooked when attempts were made to make paths relative. The bug is fixed by checking whether the object passed as version argument is a VSVersionInfo object. This change explicitly only checks if it is a VSVersionInfo object, if not it is still assumed to be a path-like object.
- Loading branch information
1 parent
f814a70
commit 9dd34bd
Showing
3 changed files
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
(Windows) Allow usage of `VSVersionInfo` as version argument to EXE again. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
(Windows) Allow usage of `VSVersionInfo` as version argument to EXE again. |