Skip to content

Commit b9beef9

Browse files
committed
Remove MSVC runtime check.
The code compiles from C now so this likely isn't needed anymore. The runtime bundled with Python should be enough.
1 parent 95387ca commit b9beef9

2 files changed

Lines changed: 0 additions & 14 deletions

File tree

README.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ For the most part it's just::
5050
==============
5151
* Python 3.5+
5252
* Windows, Linux, or MacOS X 10.9+.
53-
* On Windows, requires the Visual C++ runtime 2015 or later.
5453
* On Linux, requires libsdl2 (2.0.5+).
5554

5655
=========

tcod/loader.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,6 @@ def verify_dependencies() -> None:
3737
raise RuntimeError(
3838
"Tried to load an old version of SDL %r" % (version,)
3939
)
40-
try:
41-
ffi_check.dlopen("vcruntime140.dll") # Make sure VC++ 2015 exists.
42-
except OSError:
43-
print(
44-
"You will need to install 'vc_redist.{arch}.exe'"
45-
" from Microsoft at:\n"
46-
"https://support.microsoft.com/en-us/help/2977003/"
47-
"the-latest-supported-visual-c-downloads\n".format(
48-
arch=get_architecture()
49-
),
50-
file=sys.stderr,
51-
)
52-
raise
5340

5441

5542
def get_architecture() -> str:

0 commit comments

Comments
 (0)