Commit graph

29 commits

Author SHA1 Message Date
Kovid Goyal
a70ebb92f1
Fix pycryptodome not working on windows 2020-07-26 13:52:58 +05:30
Kovid Goyal
e854e5e165
Only report unhandled errors if excepthook is the default 2020-07-26 13:52:54 +05:30
Kovid Goyal
a17969b0d6
Restore reporting of unhandled exceptions during GUI application startup on windows
Not as nice as it was previously since errors importing the site module
will not be reported, but the python API provides no hooks for this in
Py_RunMain
2020-07-26 13:52:54 +05:30
Kovid Goyal
146d895d37
... 2020-07-26 13:52:54 +05:30
Kovid Goyal
201e017945
Allow using ANSI escape codes on windows when writing to the console 2020-07-26 13:52:53 +05:30
Kovid Goyal
7a58f9cc0c
Dont redirect stdoutstderr to NUL if it is a tty 2020-07-26 13:52:53 +05:30
Kovid Goyal
490a81f936
Copy in python3.dll as PyQt links against it instead of python38.dll 2020-07-26 13:52:53 +05:30
Kovid Goyal
1a848a1c90
... 2020-07-26 13:52:53 +05:30
Kovid Goyal
1533220700
Ensure no __pycache__ is added to pylib.zip 2020-07-26 13:52:53 +05:30
Kovid Goyal
36c8bbfec1
Add proper paths in windows frozen build 2020-07-26 13:52:53 +05:30
Kovid Goyal
089de4ab7c
Work on windows python3 build 2020-07-26 13:52:52 +05:30
Kovid Goyal
145449861e
Dont remove v3 port from PyQt 2020-07-26 13:52:52 +05:30
Kovid Goyal
c3b4d0d565
Auto fix excess blank lines 2020-07-26 13:52:51 +05:30
Kovid Goyal
b62ca89e8b
Remove useless __future__ imports
Not needed on python3
2020-07-26 13:52:50 +05:30
Kovid Goyal
7e70f2a6f7
Change shebangs to python from python2
Also remove a few other miscellaneous references to python2
2020-07-26 13:52:50 +05:30
Kovid Goyal
50a19e2b75
Switch to using QEMU VMs for building calibre on macOS and Windows
The VM performance is better and QEMU is more
hackable/automatable than VirtualBox. Also paves the way to do the
building on remote servers if needed.
2020-05-30 14:48:47 +05:30
Kovid Goyal
f6f418fcb0
When running calibre-portable.exe popup a more useful error message if it is placed in a location with a too long path. Fixes #1866739 [Path length for calibre portable](https://bugs.launchpad.net/calibre/+bug/1866739) 2020-03-25 13:08:54 +05:30
Kovid Goyal
e73f7da330
Windows fix UTF-16 output when reporting unhandled exceptions 2019-11-01 19:02:46 +05:30
Kovid Goyal
1b679ae5c8
Fix some compiler warnings 2019-09-13 09:13:37 +05:30
Kovid Goyal
8901836673
Bundle distutils in the binaries as Pillow now requires it 2019-09-13 09:13:36 +05:30
Kovid Goyal
03929d5959
Fix building of calibre portable installer 2019-09-13 09:12:39 +05:30
Kovid Goyal
0a05d2f578
Disabe SetDllDirectories on 32bit builds since it causes a crash 2019-09-13 09:12:38 +05:30
Kovid Goyal
b78f584264
Add mesa DLL to windows build for machines without OpenGL such as VMs 2019-09-13 09:12:35 +05:30
Kovid Goyal
be471a8cbe
Work on getting windows running 2019-09-13 09:12:35 +05:30
Eli Schwartz
d50a6ddc1b
use context managers to open files 2019-07-25 01:30:54 -04:00
Kovid Goyal
1be0c8ee8b
Get signing working 2019-06-19 17:59:16 +05:30
Kovid Goyal
aed78ba857
calibre now builds on windows, though for some reason the test fails 2019-06-19 17:04:35 +05:30
Kovid Goyal
947fb029d8
More work on building calibre on windows 2019-06-19 12:15:30 +05:30
Kovid Goyal
e804e48747
Start work on building calibre on windows 2019-06-19 10:06:54 +05:30