Commit Graph

15 Commits

Author SHA1 Message Date
HiPhish 439a61affa Change "can not" to "cannot" throughout project
The word "cannot" expresses inability to do something whereas "can not"
expresses the ability to refrain from doing something.
2023-04-11 17:10:01 +03:00
Eli Schwartz 258cd5d583 packaging: rework how pyinstaller gets its instructions
Make use of pyinstaller hooks by creating a hook that updates how the
`mesonbuild` import functions.

This is more or less the same as passing a bajillion arguments to
pyinstaller's CLI, but allows the logic to be self-contained (and
reusable). It becomes more obvious what parts of the process pertain to
pyinstaller, and which parts pertain to MSI/pkg creation.
2022-03-30 02:06:52 +03:00
Eli Schwartz 37be39bc69 packaging: fix the MSI bundling of distutils sub-packages
Fixes regression in commit 05b5a1e56f.
This added usage of another module in the python module's introspection
of `meson.exe runpython`, but the MSI packaging didn't adapt, causing it
to fail to be detected due to ImportError.

Fixes #9975
2022-02-14 14:45:26 +05:30
Jussi Pakkanen 43c6860a3a Use VS 2022 release version for packaging. 2022-01-09 21:48:06 +02:00
Jussi Pakkanen 4c62dab611
MSI generator fixes 2021-11-17 00:44:29 +02:00
Jussi Pakkanen 4d8548aa06 Fix MSI creation with Python 3.10. 2021-10-24 03:04:13 +03:00
Christian Clauss a5020857f3 Fix typos discovered by codespell 2021-10-10 16:12:25 -04:00
Jussi Pakkanen 793175f665 Delete extra data dirs that cause problems for WiX. 2021-07-21 22:52:38 +03:00
Jussi Pakkanen 5eeddd682f Add a script to create macOS installer packages. 2021-05-18 20:47:05 +03:00
Eli Schwartz 6a0fabc647
mass rewrite of string formatting to use f-strings everywhere
performed by running "pyupgrade --py36-plus" and committing the results
2021-03-04 17:16:11 -05:00
Eli Schwartz 4340bf34fa
various python neatness cleanups
All changes were created by running

"pyupgrade --py3-only --keep-percent-format"

and committing the results. I have not touched string formatting for
now.

- use set literals
- simplify .format() parameter naming
- remove __future__
- remove default "r" mode for open()
- use OSError rather than compatibility aliases
- remove stray parentheses in function(generator) scopes
2021-03-04 17:11:26 -05:00
Jussi Pakkanen 62b744b2c4 Require Windows 10 or newer for the MSI package. [skip ci] 2021-02-28 22:41:41 +02:00
Jussi Pakkanen eacd43d5b5 Add filecmp to list of bundled modules. Closes #8431. [skip ci] 2021-02-28 22:41:41 +02:00
Jussi Pakkanen 5e95f13737 Remove remnants of 32 bit support. [skip ci] 2021-02-28 22:41:41 +02:00
Eli Schwartz df50123c05 createmsi: move to generic packaging directory
We might want to create other dedicated packaging scripts, and put them
all in one directory.
2020-11-27 18:12:08 +02:00