-
Notifications
You must be signed in to change notification settings - Fork 36
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
Avoiding bezier.dll
name collision on Windows.
#190
Conversation
"""Hash the contents of an open file handle with SHA256""" | ||
hash_obj = hashlib.sha256() | ||
|
||
with open(filename, "rb") as file_obj: |
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.
OK, the issue (among other things) is that |
Luckily the inimitable @njsmith has created https://github.com/njsmith/machomachomangler for this exact use case! |
Does so by renaming
bezier.dll
to include the first 8 characters of the SHA256 hash of the file.Fixes #189.