Commit Graph

230 Commits

Author SHA1 Message Date
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
Renamed from scripts/build_release.py (Browse further)