Skip to content

Commit b14fc86

Browse files
authored
Update setup.py
1 parent 4721363 commit b14fc86

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,9 @@ def main():
159159
# Files in sourcetree outside package dir that should be copied to package.
160160
# Raw paths relative to sourcetree root.
161161
files_outside_package_dir = {"cv2": ["LICENSE.txt", "LICENSE-3RD-PARTY.txt"]}
162-
162+
163+
windows_version = int(platform.release())
164+
print(windows_version)
163165
if os.name == "nt":
164166
if windows_version == 2025:
165167
generator_name = "Visual Studio 17"

0 commit comments

Comments
 (0)