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
Florian Bruhin
478bdc3ba9
build_release: Copy missing QtQmlModels.framework
...
See https://github.com/pyinstaller/pyinstaller/issues/4631
See #4918
2020-01-15 15:31:01 +01:00
Florian Bruhin
fa56b68de2
Revert "build_release: Re-add windows patching"
...
This reverts commit d37843d137 .
Not needed anymore with PyInstaller 3.6
2020-01-10 17:06:20 +01:00
Florian Bruhin
9e4276db9b
Adjust copyrights for 2020
2020-01-04 18:21:17 +01:00
Florian Bruhin
21e9b9b41f
Specify 'check' with subprocess.run
2019-10-01 11:54:18 +02:00
Florian Bruhin
4f76266a4b
build_release: Ignore another macOS smoke test line
2019-09-26 18:26:35 +02:00
Florian Bruhin
db21962d78
build_release: Print uploaded file
2019-09-25 23:23:31 +02:00
Florian Bruhin
8f7e232722
build_release: Improve handling of half-uploaded release
2019-09-25 22:06:46 +02:00
Florian Bruhin
6cd30be9bd
build_release: Set asset description directly
2019-09-25 21:17:58 +02:00
Florian Bruhin
f2a09a97b2
build_release: Add retry functionality for GitHub upload
2019-09-25 21:09:44 +02:00
Florian Bruhin
ebad75f915
macOS: Ignore new smoke test line
...
See #4919
2019-09-25 17:59:17 +02:00
Florian Bruhin
81a5ada67f
Fix lint
2019-07-18 17:30:37 +02:00
Florian Bruhin
b4d2547b94
build_release: Clean up getting path from registry
2019-07-18 16:19:18 +02:00
Florian Bruhin
26d316a94c
Add issue links
2019-07-18 16:14:17 +02:00
Florian Bruhin
d37843d137
build_release: Re-add windows patching
...
Looks like we need some patching again nowadays...
This reverts commit 7763287b10 .
2019-07-18 15:31:25 +02:00
Florian Bruhin
730018e37e
Check stdout/stderr of processes when running smoke test
2019-07-18 14:31:42 +02:00
Florian Bruhin
dfabbff63b
build_release: Improve sdist building
2019-07-18 12:25:16 +02:00
Florian Bruhin
b51d0cba51
Merge remote-tracking branch 'origin/pr/4086'
2019-07-11 11:01:30 +02:00
Florian Bruhin
c6d98c9f7e
Fix version bumping style issues
2019-07-11 10:56:16 +02:00
Florian Bruhin
16a591e887
Merge remote-tracking branch 'origin/pr/4304'
2019-07-11 10:47:28 +02:00
Florian Bruhin
093fe765fa
Adjust QtWebEngineCore.framework path
2019-06-18 14:01:31 +02:00
Florian Bruhin
e5fd87e64d
Fix lint/docs
2019-02-25 13:12:25 +01:00
Florian Bruhin
81eee2b989
windows: Bring back 32-bit support
...
Qt 5.12 brought back 32-bit Windows releases for QtWebEngine.
Reverts 0af8eec73a
Reverts 7a9183d0b7
Fixes #4598
2019-02-23 17:16:41 +01:00
Jay Kamat
3e816f5f8b
Update copyright for 2019
2019-02-22 21:45:08 -08:00
Florian Bruhin
b5253ec473
Fix lint
2018-11-28 13:01:43 +01:00
Florian Bruhin
2237ca2bcf
Remove now unneeded pylint suppressions
2018-11-28 12:54:19 +01:00
Andy Mender
41402cb45f
Remove update_version.py from build_release.py pipeline
2018-10-07 18:03:55 +02:00
Andy Mender
d6be4aa645
Remove misleading 'version tag' comment from scripts/dev/build_release.py
2018-10-07 17:31:57 +02:00
Andy Mender
5231b25759
Move appdata_path to qutebrowser.__init__.py and improve code style
2018-10-07 12:49:25 +02:00
Andy Mender
21e49cf958
Add update_version.py to build_release.py pipeline and update command-line args
2018-10-07 11:56:28 +02:00
Florian Bruhin
300ddce288
Re-add PDF.js download to build_release.py
2018-09-24 15:39:07 +02:00
Florian Bruhin
7c134cdb20
Fix lint
2018-09-24 12:44:31 +02:00
Florian Bruhin
737db48c14
build_release: Patch macOS app to save some space
2018-09-22 18:22:48 +02:00
Florian Bruhin
d97e1741e0
Remove most macOS patching
...
Closes #4232
2018-09-22 09:57:49 +02:00
Florian Bruhin
d4e388f9d5
Do exist_ok at the right place...
2018-09-19 15:14:24 +02:00
Florian Bruhin
bcf9b0ec37
build_release: Set exist_ok
2018-09-19 14:17:02 +02:00
Florian Bruhin
f05efcc47f
build_release: Fix running with --no-asciidoc
2018-09-19 11:39:21 +02:00
Florian Bruhin
7763287b10
build_release: Remove patch_windows
...
Looks like this works fine with PyInstaller 3.4
2018-09-19 11:14:38 +02:00
Florian Bruhin
7a8110c83e
build_release: Add --no-asciidoc
2018-09-19 11:13:01 +02:00
Florian Bruhin
9417ed6c8e
build_release: Run smoke tests before building installers
2018-09-19 11:10:17 +02:00
bitraid
ead1b89a6d
Update build_release.py to use the new NSIS script and download its plugins
2018-07-20 18:28:20 +03:00
Florian Bruhin
7a9183d0b7
Remove 32-bit makensis call
...
I forgot to remove this in 0af8eec73a
2018-07-03 13:17:15 +02:00
Florian Bruhin
38791a2386
Only import gen_versioninfo on Windows
2018-07-03 11:38:48 +02:00
Florian Bruhin
0af8eec73a
build_release: Remove 32-bit support for Windows
...
QtWebEngine isn't available for 32-bit anymore:
https://blog.qt.io/blog/2018/05/22/qt-5-11-released/ (comments)
2018-07-03 11:08:56 +02:00
Florian Bruhin
b67733b781
Use ImportError for winreg import
...
This also satisfies pylint.
2018-06-13 20:15:16 +02:00
bitraid
b61c99687d
build_release.py: reformat
2018-06-12 00:27:43 +03:00
bitraid
ddfbe255e7
build_release.py: Get python path from registry on Windows
2018-06-11 20:45:35 +03:00
bitraid
00199ae60e
Corrections to gen_versioninfo.py script
...
- Use main() function
- Call utils.change_cwd()
- Import info text
- Don't use fstrings
2018-06-10 02:24:47 +03:00
bitraid
8c16d81d89
Pyinstaller: add VERSIONINFO resource to Windows executables.
2018-04-20 17:48:51 +03:00
Florian Bruhin
643bf4bc20
Remove 32-bit check in build_release.py
...
This is probably not needed anymore, see #3842
2018-04-16 08:33:01 +02:00
Florian Bruhin
c2b995edde
Update build_release for github3.py 1.0
2018-03-14 21:11:03 +01:00
Florian Bruhin
27c2650245
build_release: Wait before detaching volume
...
This hopefully helps with detaching it properly.
2018-03-11 21:06:31 +01:00
Florian Bruhin
6f028e9ad0
Update copyright years
2018-02-05 12:19:50 +01:00
Florian Bruhin
d06f07af80
Fix Makefile and make sure it's tested
...
Fixes #3492
2018-01-15 22:42:12 +01:00
Florian Bruhin
430126dcc8
pylint: Re-enable ungrouped-imports
2017-12-15 23:08:53 +01:00
Florian Bruhin
4a1cdef887
Fix indent
2017-11-02 11:03:19 +01:00
Gyorgy Orban
bb54a954fe
use subprocess run
...
The usage of subprocess.run is recommended since python 3.5.
Popen, check_call, call and check_output calls were replaced with run.
2017-11-01 09:59:32 +01:00
Florian Bruhin
1b5f1aaebf
Merge remote-tracking branch 'origin/pr/3055'
2017-10-11 14:37:59 +02:00
Anton S
0f1444125f
[osx] proper plist to show up in browsers list (by The-Compiler)
2017-10-05 01:16:43 +03:00
Anton S
5350b948ea
[review] gather plist params in one place
2017-10-05 01:13:23 +03:00
Florian Bruhin
09f2b06081
build_release: Fix casing for framework name
2017-10-04 19:09:54 +02:00
Anton S
68481bc989
[osx] declare html files support as well
2017-10-04 00:02:03 +03:00
Anton S
a576fae893
[osx] declare URLs support in Info.plist
2017-10-02 01:04:12 +03:00
Florian Bruhin
474bf8ad06
Remove unneeded as-import
2017-09-26 10:47:07 +02:00
Florian Bruhin
5a60630450
Don't use utils.is_* in build_release.py
...
This partially reverts ef1c83862b
Otherwise, we'd have to have PyQt5 installed in the environment which runs
build_release.py.
2017-09-26 07:25:59 +02:00
Florian Bruhin
e766cf5ed1
build_release: print artifacts if not releasing
2017-09-26 07:13:54 +02:00
Florian Bruhin
cd9fe57d84
build_release: Also run asciidoc2html on Linux
2017-09-21 23:03:02 +02:00
Florian Bruhin
ef1c83862b
Use utils.is_* for platform checks everywhere
2017-09-20 11:10:24 +02:00
Florian Bruhin
ad615941a2
Replace OS X with macOS
2017-07-08 11:12:43 +02:00
Florian Bruhin
af6d833c50
Fix build_release.py
2017-07-07 15:18:05 +02:00
Florian Bruhin
5098aa388b
build_release: Fail GitHub uploads early
2017-07-07 14:28:36 +02:00
Florian Bruhin
eaecfe5882
build_release: Adjust Windows installer names
2017-07-04 22:27:17 +02:00
Florian Bruhin
725d4a44f0
build_release: Don't fail if hdiutil detach fails
2017-07-04 22:16:21 +02:00
Florian Bruhin
c424a745d8
build_release: Add comment about missing 3rdparty upgrade
2017-07-04 21:36:20 +02:00
Florian Bruhin
8f03a36862
build_release: Use correct path when copying dirs
2017-07-04 21:31:53 +02:00
Florian Bruhin
7ecdd6c1c5
build_release: Print some more information about copied files
2017-07-04 21:04:08 +02:00
Florian Bruhin
d96403fe93
build_release: Clean up before doing stuff
...
So we can inspect the results later.
2017-07-04 21:03:55 +02:00
Florian Bruhin
defe140d98
build_release: Run tox with -vv
2017-07-04 19:56:54 +02:00
Florian Bruhin
464eb29704
Set PATH in build_release.py when calling tox
...
On Windows, we need to have the proper Python folder in PATH when using PyQt5,
so it can load python3.dll properly.
2017-05-24 20:52:57 +02:00
Florian Bruhin
1adcf28e31
build_release: Adjust Windows Python paths
2017-05-24 13:30:11 +02:00
Florian Bruhin
4e48f878ba
build_release: Call tox with -v
2017-05-24 08:37:06 +02:00
Florian Bruhin
b811b9e380
Run update_3rdparty correctly from build_release
2017-05-24 08:37:06 +02:00
Florian Bruhin
59760b58d9
Add windows installers to build_release
2017-05-24 08:37:06 +02:00
Florian Bruhin
e955540f71
build_release: More fixes
2017-05-17 11:10:36 +02:00
Florian Bruhin
47bf261994
build_release: Different PyInstaller workaround
2017-05-17 11:10:32 +02:00
Florian Bruhin
71b5d83e19
build_release: Various fixes
2017-05-17 11:10:20 +02:00
Florian Bruhin
dc947bf9a9
build_release: Python version adjustments
2017-05-17 11:09:22 +02:00
Florian Bruhin
49a328727e
build_release: Add Windows patching for PyInstaller
2017-05-17 11:09:22 +02:00
Florian Bruhin
9816de9e8d
build_release: Initial changes for PyInstaller
2017-05-17 11:06:06 +02:00
Florian Bruhin
70e2963432
build_release: Adjust repo name
2017-05-17 11:05:27 +02:00
Florian Bruhin
822623f2ed
Finally update copyrights...
2017-05-09 21:37:03 +02:00
Florian Bruhin
a8b27eb271
Fix lint
2017-02-19 19:44:50 +01:00
Florian Bruhin
9a638b2dba
Patch OS X .app to work with QtWebEngine
2017-02-19 15:41:20 +01:00
Florian Bruhin
0c9a97225a
Fix GitHub filename
2016-11-05 23:35:56 +01:00
Florian Bruhin
195b17c1ad
Add release uploading to build_release.py
...
Closes #1738
2016-08-02 22:26:25 +02:00
Florian Bruhin
55f4777d72
build_release: Fix call_tox with no python on Win
2016-07-26 17:55:26 +02:00
Florian Bruhin
311f531d88
build_release: Fix tox call
2016-07-26 17:00:32 +02:00
Florian Bruhin
180d113914
build_release: Fix running smoke test on OS X
2016-07-26 16:49:44 +02:00
Florian Bruhin
901ccebca6
Revert "build_release: Use -quiet for hdiutil"
...
This reverts commit e2ea04691e .
Otherwise we don't get any information on errors...
2016-07-26 16:49:07 +02:00
Florian Bruhin
e2ea04691e
build_release: Use -quiet for hdiutil
2016-07-26 16:39:10 +02:00
Florian Bruhin
86bd42ec93
build_release: Rebuild tox environments
...
This way we can be sure we have updated dependencies installed.
2016-07-26 16:38:32 +02:00
Florian Bruhin
fb20352e3f
build_release: Add smoke test for OS X
...
This should prevent something like #1686 in the future.
2016-07-26 16:10:25 +02:00
Florian Bruhin
a7ece80d34
Merge branch 'pyinstaller'
2016-05-13 06:21:28 +02:00
Florian Bruhin
2a343cb3a1
Various code style improvements
2016-04-27 20:25:27 +02:00
Florian Bruhin
0e6bada68f
build_release: Build docs/update 3rdparty on OS X
2016-04-07 08:53:34 +02:00
Florian Bruhin
3984437484
build_release: Build dmg via Makefile-dmg
2016-04-07 08:53:34 +02:00
Florian Bruhin
ae41a074e8
build_release: Add basic OS X build
2016-04-07 08:53:17 +02:00
Florian Bruhin
910adaf097
build_release: Don't call update_3rdparty.main
...
main tries to parse sys.argv which will fail when called from
build_release when e.g. --asciidoc is given.
2016-04-04 18:32:49 +02:00
Florian Bruhin
7a268a41f6
pylint: Don't require docstring for main() funcs.
2016-02-01 20:06:49 +01:00
Florian Bruhin
5b68092277
Download pdfjs in build_release.py.
...
freeze.py now optionally includes pdfjs if it's present. This means we don't
need to download it every time to run frozen tests, but we can include it in
build_release.py when building a windows package.
2016-01-05 07:27:58 +01:00
Florian Bruhin
814e6f5959
Fix lint.
2016-01-05 07:16:39 +01:00
Florian Bruhin
eefc94fb4d
Fix build_release.py with inexistent dist-dir.
2016-01-05 07:14:11 +01:00
Florian Bruhin
8ab0b5b4ac
Use build_release.py to build sdist on Linux.
...
See #1091 .
2016-01-05 06:54:37 +01:00
Florian Bruhin
a5f2ac5f03
Adjust copyright years.
2016-01-04 07:12:39 +01:00
Florian Bruhin
ffe6411a5a
Fix asciidoc2html path in build_release.py.
2015-08-16 21:30:12 +02:00
Florian Bruhin
be3f61af62
Move developer scripts to dev/ subfolder.
...
Closes #783 .
2015-06-28 22:31:30 +02:00