Florian Bruhin
f45dcb1aba
pylint: Work around used-before-assignment issues
...
See https://github.com/PyCQA/pylint/issues/6035
2022-03-29 17:22:56 +02:00
Florian Bruhin
2378ba7886
scripts: Use 'build' to build sdist
...
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
2021-12-03 15:52:03 +01:00
Florian Bruhin
733868ff87
scripts: Run 'twine check'
2021-12-03 15:42:14 +01:00
Florian Bruhin
a580079206
scripts: Handle packaging dependencies via tox
2021-12-03 15:28:04 +01:00
Florian Bruhin
bbb44f6e50
Add some missing docstring params
2021-12-03 13:50:57 +01:00
Florian Bruhin
ed2342a430
pylint: Handle consider-using-with
2021-12-02 17:30:47 +01:00
Florian Bruhin
e6e7e95013
scripts: Use new Qt path in build_release
2021-10-21 18:18:36 +02:00
Florian Bruhin
51972fa4e2
Revert "scripts: Remove macOS symlinking"
...
This reverts commit a0bfb7c824 .
It *is* required, just used the wrong path...
gg
2021-10-21 18:18:03 +02:00
Florian Bruhin
a0bfb7c824
scripts: Remove macOS symlinking
...
Seems to be fixed in PyInstaller 4.4? See #6611 .
2021-10-21 17:07:53 +02:00
Florian Bruhin
2782b750ae
scripts: Add bluetooth permission for macOS
...
Apple documentation claims this is for iOS/watchOS/tvOS only:
https://developer.apple.com/documentation/bundleresources/information_property_list/nsbluetoothalwaysusagedescription
However, reality tells a different story - according to Console.app, when
visiting accounts.google.com, qutebrowser/Chromium needs this permission.
Reproducible as well using the following demo page:
https://googlechrome.github.io/samples/web-bluetooth/battery-level.html
Finally, Google Chrome has the key declared as well. Note that it has
NSBluetoothPeripheralUsageDescription as well:
https://developer.apple.com/documentation/bundleresources/information_property_list/nsbluetoothperipheralusagedescription
...but that is deprecated, and according to my tests on macOS 10.14 and 10.15,
it's not needed.
Thanks to Apple for their wonderful documentation.... not.
Fixes #6475 , hopefully for real this time.
2021-06-15 15:22:26 +02:00
Florian Bruhin
bae08ae386
Set permission strings in Info.plist
...
Fixes #6475
2021-05-25 15:25:49 +02:00
Florian Bruhin
b1265cbeff
Update PE checksum patching after PyInstaller update
2021-04-21 11:37:00 +02:00
Florian Bruhin
9aa8740ec9
scripts: Add --no-confirm to build_release
2021-04-13 12:48:51 +02:00
Florian Bruhin
bbd71c4975
Support macOS dark mode for UI
...
Fixes #4430
Thanks to ftpd for testing!
2021-04-07 22:19:42 +02:00
Florian Bruhin
937b5885c3
ci: Add debug suffix to filenames
2021-03-29 23:42:14 +02:00
Florian Bruhin
bce20c2995
scripts: Add --debug to build_release.py
2021-03-29 23:42:14 +02:00
Florian Bruhin
72fa0939c6
ci: Skip smoke test for debug build
2021-03-29 23:42:14 +02:00
Florian Bruhin
78ce753b09
ci: Move macOS dmg to dist/
2021-03-29 23:42:14 +02:00
Florian Bruhin
52c2a9b2f2
scripts: Rename build_release args to --32bit and --64bit
2021-03-29 23:42:14 +02:00
Florian Bruhin
0a3945832b
scripts: Ignore ERR_FILE_NOT_FOUND for smoke test
...
See #3719
2021-03-29 23:42:14 +02:00
Florian Bruhin
179d85274f
scripts: Show debug run output on failed smoke test
2021-03-29 23:42:14 +02:00
Florian Bruhin
8a0d7a5be8
scripts: Pass GitHub token via commandline args
2021-03-29 23:42:14 +02:00
Florian Bruhin
2b9108113d
scripts: Fix PE checksum for Windows releases
...
This should help with virus scanner false positives.
See https://github.com/pyinstaller/pyinstaller/issues/5579
Fixes #6081
Fixes #6194
2021-02-22 17:18:07 +01:00
Florian Bruhin
0df0985292
scripts: Improve macOS smoke test
2021-01-28 11:34:15 +01:00
Florian Bruhin
5ac9e3c23d
scripts: Also add desc suffix for installer
2021-01-28 10:04:39 +01:00
Florian Bruhin
d3b8b525b7
scripts: Actually use 32-bit Python on Windows
2021-01-28 09:31:26 +01:00
Florian Bruhin
62a06f8361
scripts: Adjust suffix for 32-bit releases
2021-01-28 08:32:05 +01:00
Florian Bruhin
e43f8e016c
Fix lint
2021-01-27 19:57:13 +01:00
Florian Bruhin
3a9770e2d7
scripts: Add suffix for 32-bit artifacts
...
See #6050
2021-01-27 19:40:20 +01:00
Florian Bruhin
05bb3942d4
scripts: Refactor Windows building
2021-01-27 19:24:18 +01:00
Florian Bruhin
3199efbe29
scripts: Fix build_release on Windows with --skip-32bit
2021-01-26 18:32:44 +01:00
Florian Bruhin
6d07d2cbf8
Fix string prefixes
2021-01-26 15:55:45 +01:00
Florian Bruhin
b50f440948
scripts: Add more macOS smoke test warnings
...
See #4919
2021-01-26 15:28:09 +01:00
Florian Bruhin
1a4fff1a42
doc: Switch URLs to https
2021-01-26 15:19:01 +01:00
Florian Bruhin
2f918b9876
scripts: Rename --no-asciidoc to --skip-docs
...
For consistency
2021-01-26 10:20:11 +01:00
Florian Bruhin
222f1f19a1
Bump copyright years
...
Closes #6015
2021-01-20 20:06:19 +01:00
Florian Bruhin
cbfce386d2
scripts: Allow skipping 32bit build
2021-01-19 18:13:28 +01:00
Florian Bruhin
2e65f731b1
scripts: Ignore DXVAVDA errors for smoke test
...
When trying to release in my Windows VM, I get:
[1568:5924:1204/204551.986:ERROR:dxva_video_decode_accelerator_win.cc(1399)]
DXVAVDA fatal error: could not LoadLibrary: mf.dll: The specified
module could not be found. (0x7E)
[1568:5924:1204/204551.986:ERROR:dxva_video_decode_accelerator_win.cc(1399)]
DXVAVDA fatal error: could not LoadLibrary: mfplat.dll: The
specified module could not be found. (0x7E)
[1568:5924:1204/204551.986:ERROR:dxva_video_decode_accelerator_win.cc(1399)]
DXVAVDA fatal error: could not LoadLibrary: msmpeg2vdec.dll: The
specified module could not be found. (0x7E)
[1568:5924:1204/204551.986:ERROR:dxva_video_decode_accelerator_win.cc(1407)]
DXVAVDA fatal error: could not LoadLibrary: msvproc.dll: The
specified module could not be found. (0x7E)
This seems to happen on Windows 10 N only, where the Windows Media
features (and thus probably DLLs) are missing.
See https://github.com/microsoft/playwright/issues/2901
2020-12-04 21:13:36 +01:00
Florian Bruhin
907e0cc33c
build_release: Add --skip-packaging
2020-11-23 14:42:25 +01:00
Florian Bruhin
28bd35ed58
Simplify asciidoc arg
2020-09-16 21:13:47 +02:00
Florian Bruhin
5663bd24f5
Fix tox environment name for macOS
...
This was a regression introduced in
76eed0aa9c .
2020-09-16 21:12:36 +02:00
Florian Bruhin
76eed0aa9c
tox: Simplify pyinstaller envs
2020-07-30 16:23:05 +02:00
Florian Bruhin
9eedfabd69
scripts: Save .zip files in dist/ in build_release.py
2020-07-06 14:21:56 +02:00
Florian Bruhin
00d316c011
Check git tree before doing a release
...
See #5426
2020-05-10 19:35:28 +02:00
Florian Bruhin
14fd4860e4
build_release: Separate 32/64-bit pyinstaller envs on Windows
...
For some reason, pip fails now when trying to "update" the existing source
clone...
2020-04-27 16:29:00 +02:00
Florian Bruhin
c799b7ddf6
scripts: Print errors to stderr instead of stdout
2020-04-21 09:56:34 +02:00
Florian Bruhin
ef94fb8626
build_release: Check for existing assets
2020-04-18 14:06:03 +02:00
Florian Bruhin
32c2f9b240
build_release: Print version when asking for confirmation
2020-04-18 14:03:34 +02:00
Florian Bruhin
84062eb53c
Switch back to develop branch of pyinstaller
...
Reverts 478bdc3ba9 .
Reverts 755a2999e2 .
See https://github.com/pyinstaller/pyinstaller/issues/4631
See #4918
2020-02-10 20:29:58 +01:00
Florian Bruhin
68f8592abf
build_release: Move print inside while
2020-02-02 22:54:31 +01:00