-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Add option to package DLL files #5103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
name = "dlls" | ||
|
||
def check_requirements(self): | ||
if sys.platform != 'win32': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Incidentally, is it preferable to use platform.system
? I confess, I've tried in the past to understand what the win32 means, but it always escapes me - as far as I can remember, even 64-bit windows reports win32, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think sys.platform != 'win32'
is correct here. The win32
probably refers to the implementation of Python using the Windows API, formerly named Win32. Other Python implementations for Windows, which this patch does not apply to, are using cygwin
or cli
(.NET).
👍 |
How can I disable this optional package by default? Currently it is enabled by default but has no effect because there are no DLLs in the matplotlib source distribution. |
Ping @mdboom - any tips? |
To make a package optional by default you could override
|
This would allow to package the msvcp140.dll file required by C++ extensions built with Visual Studio 2015. See #5100.