mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Hack in a fix for wheel generation
This commit is contained in:
parent
7a61e52576
commit
b65fa693da
1 changed files with 4 additions and 1 deletions
|
@ -30,7 +30,10 @@ def make_message(headers, payload=None):
|
|||
msg[name] = value
|
||||
if payload:
|
||||
msg.set_payload(payload)
|
||||
return msg
|
||||
# EmailMessage wraps the license line, which results in an invalid file
|
||||
out = bytes(msg)
|
||||
out = out.replace(b"License v3 or\n later", b"License v3 or later")
|
||||
return out
|
||||
|
||||
|
||||
def write_wheel_file(filename, contents):
|
||||
|
|
Loading…
Reference in a new issue