Created
December 13, 2014 18:15
-
-
Save tmr232/e53f2de4a168c45a2191 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
def _remove_visual_c_ref(self, manifest_file): | |
try: | |
# Remove references to the Visual C runtime, so they will | |
# fall through to the Visual C dependency of Python.exe. | |
# This way, when installed for a restricted user (e.g. | |
# runtimes are not in WinSxS folder, but in Python's own | |
# folder), the runtimes do not need to be in every folder | |
# with .pyd's. | |
# Returns either the filename of the modified manifest or | |
# None if no manifest should be embedded. | |
# Rest of the function removed for brevity. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment