Scott Talbert
a29322f678
Remove shutil.which backport - it was added in Python 3.3
2025-02-03 20:31:24 -05:00
Scott Talbert
b0bde88a2c
Remove pathlib2 backport - pathlib was added in Python 3.4
2025-02-03 20:22:26 -05:00
Alexandre Detiste
323e78c085
remove more Python2 hybridation
2025-02-02 20:29:49 -05:00
Alexandre Detiste
0257f755cf
remove most of Python2 compatibility code
2025-02-02 20:17:45 -05:00
Edouard Choinière
7819799d0d
Sort almost all usages of glob.glob for reproducible output
...
This will help diff-ing logs between invocations to see what is changing when refactoring. When used for creating an archive, it will help creating a reproducible file.
2025-01-28 03:28:11 +00:00
Edouard Choinière
c30fe8a95c
Sort sources in generated .sbf files to be reproducible
2025-01-28 03:22:43 +00:00
Scott Talbert
09603e0776
Update waf to v2.1.3
...
Fixes: https://github.com/wxWidgets/Phoenix/issues/2634
2024-11-04 22:41:16 -05:00
Kazuya O'moto
0da5a0bd5c
Modify import from setuptools.modified
2024-09-11 01:51:09 +09:00
Kazuya O'moto
45d50d4553
Don't warn build process with distutils
...
Porting from Distutils:
Change distutils.dep_util --> setuptools.modified.
https://setuptools.pypa.io/en/latest/deprecated/distutils-legacy.html
https://peps.python.org/pep-0632/
2024-09-07 01:39:25 +09:00
Scott Talbert
d809a7e509
Update waf to 2.1.2
2024-09-01 10:10:57 -04:00
Robin Dunn
f56d65daaa
Migrate CI from Azure Pipelines to GitHub Actions
...
ci-build / build-source-dist (push) Waiting to run
ci-build / build-wheels (x64, macos-13, 3.10) (push) Blocked by required conditions
ci-build / build-wheels (x64, macos-13, 3.11) (push) Blocked by required conditions
ci-build / build-wheels (x64, macos-13, 3.12) (push) Blocked by required conditions
ci-build / build-wheels (x64, macos-13, 3.13-dev) (push) Blocked by required conditions
ci-build / build-wheels (x64, macos-13, 3.8) (push) Blocked by required conditions
ci-build / build-wheels (x64, macos-13, 3.9) (push) Blocked by required conditions
ci-build / build-wheels (x64, ubuntu-22.04, 3.10) (push) Blocked by required conditions
ci-build / build-wheels (x64, ubuntu-22.04, 3.11) (push) Blocked by required conditions
ci-build / build-wheels (x64, ubuntu-22.04, 3.12) (push) Blocked by required conditions
ci-build / build-wheels (x64, ubuntu-22.04, 3.13-dev) (push) Blocked by required conditions
ci-build / build-wheels (x64, ubuntu-22.04, 3.8) (push) Blocked by required conditions
ci-build / build-wheels (x64, ubuntu-22.04, 3.9) (push) Blocked by required conditions
ci-build / build-wheels (x64, windows-2022, 3.10) (push) Blocked by required conditions
ci-build / build-wheels (x64, windows-2022, 3.11) (push) Blocked by required conditions
ci-build / build-wheels (x64, windows-2022, 3.12) (push) Blocked by required conditions
ci-build / build-wheels (x64, windows-2022, 3.13-dev) (push) Blocked by required conditions
ci-build / build-wheels (x64, windows-2022, 3.8) (push) Blocked by required conditions
ci-build / build-wheels (x64, windows-2022, 3.9) (push) Blocked by required conditions
ci-build / build-wheels (x86, windows-2022, 3.10) (push) Blocked by required conditions
ci-build / build-wheels (x86, windows-2022, 3.11) (push) Blocked by required conditions
ci-build / build-wheels (x86, windows-2022, 3.12) (push) Blocked by required conditions
ci-build / build-wheels (x86, windows-2022, 3.13-dev) (push) Blocked by required conditions
ci-build / build-wheels (x86, windows-2022, 3.8) (push) Blocked by required conditions
ci-build / build-wheels (x86, windows-2022, 3.9) (push) Blocked by required conditions
* Add --quiet option
* First pass on github workflow for CI
* Comment out the 2nd job for now
* Changes and tweaks from what I learned in a test project
* We also need to run the dox command
* Set PYTHONUNBUFFERED in the workflow
* Copy sip.h when the siplib is (re)created, instead of later during the build
* generate version modules in cmd_sdist too
* More fixes for building an sdist in a clean folder
* install gettext
* sudo
* Add build-wheels job
* add apt update
* Explicitly install libunwind-dev to workaround a package dependency bug
* Split the generate and the sdist step into 2 steps.
* fixes for building sdist on Windows, and also enable some additional MSVC info when building
* Use ilammy/msvc-dev-cmd to set up MSVC
* Comment out some no longer needed debug prints
* Add remaining matrix entries
* Uninstall wxPython at the end of the test, turn off fail-fast.
* uninstall --yes
* Add builds for Python 3.12 and 3.13
* Pin setuptools to < 74 on Windows due to removal of setuptools.msvc
* Remove Azure pipelines
* Try building on macOS x86 (not ARM)
* Update actions versions to non-deprecated ones
* Use macOS 13 (-large images seem to not be available on free accounts)
* avoid using -latest to avoid surprises later
* fix typo
* Remove checkout step from matrix (shouldn't be needed?)
* Revert "Remove checkout step from matrix (shouldn't be needed?)"
This reverts commit 385ef5c832
.
---------
Co-authored-by: Scott Talbert <swt@techie.net >
2024-09-01 10:06:02 -04:00
Scott Talbert
32a144734b
Update tools URL to use GitHub Pages
2024-08-28 19:24:36 -04:00
Scott Talbert
2c6307142f
Update sip to v6.8.3 and fix deprecations
2024-02-12 23:20:17 -05:00
Scott Talbert
e5c92b3056
Use new tarfile.extractall() filter for safer tarfile extraction
...
The tarfile.extractall() filter argument was introduced in the most
recent CPython releases (e.g., 3.11.4) to avoid potential security
issues when extracting from potentially hostile tarballs. Let's use
this option if it is available and provide a warning if it is now.
2023-08-03 16:25:07 -04:00
Robin Dunn
8bdbeb7fec
Enable building a source archive without the sphinx files. This enables a source archive to be made without a full build.
2023-06-02 07:42:24 -07:00
Scott Talbert
969c2d1635
Indicate sip 6.6.2+ is required when building with sip-build
2022-08-10 11:01:38 -04:00
Robin Dunn
ddc8ad6ad1
Update waf to 2.0.24 (for Python 3.11)
2022-08-07 12:52:18 -07:00
Robin Dunn
70719f64f5
Improve readability of the toml string
2022-08-05 19:50:04 -07:00
Scott Talbert
3a20dd4d70
Fix inclusion of siplib and sip.h in sdist with sip 6.6.2
...
Since these files are no longer tracked in git, they need to be
explicitly included in the sdist.
Fixes #2207 .
2022-07-09 11:00:10 -04:00
Robin Dunn
edf1cf070b
Ensure that PYTHON's folder is on the PATH
2022-07-01 08:32:07 -07:00
Robin Dunn
6238e37659
Match "#line" lines with leading whitespace
2022-06-30 15:46:10 -07:00
Robin Dunn
1a77d37cfd
Ignore the siplib folder. Use the full pathname of the sbf file
2022-06-30 15:14:51 -07:00
Robin Dunn
369d49f621
Merge branch 'swt2c-sip6'
2022-06-30 14:13:57 -07:00
Robin Dunn
9d4ed22309
Fix clean_wx command for MSW
2022-06-29 09:28:46 -07:00
Scott Talbert
90171ba216
Update to use sip 6.6.x
...
1) Switch to running sip using its new sip-build command line interface,
which requires writing out a pyproject.toml to configure it.
2) Generate the sip build file (sbf) ourselves since sip no longer writes
them.
3) Remove the embedded sip module code and generate it on the fly during
the build process.
Fixes #2169 .
2022-06-18 13:54:17 -04:00
Robin Dunn
c2dbb03e92
Explicitly build for both architectures on Mac instead of expecting it to be done by default.
2022-06-01 10:08:47 -07:00
Robin Dunn
f58bb9e355
little tweaks
2022-05-31 17:34:18 -07:00
Robin Dunn
3bfda1918a
Add some debug prints
2022-05-18 07:44:00 -07:00
Robin Dunn
b12d58aea8
Improve a comment, and comment-out some debug code.
2022-05-17 07:20:49 -07:00
Robin Dunn
9cd319734e
Try the windows-2022 image on Azure, add some debug prints.
2022-05-16 20:35:57 -07:00
Robin Dunn
3218e4d42f
Use MSVCinfo in the waf script to help set up the compiler for the wxPython build
2022-05-15 11:37:43 -07:00
Robin Dunn
685b9af718
Move setting the environment variables into getMSVCInfo
2022-05-15 10:40:51 -07:00
Robin Dunn
cadd91697c
Switch to setuptools.msvc for getting setup info for the Windows compiler, reducing dependence on distutils.
2022-05-14 20:31:11 -07:00
Scott Talbert
130959f12b
Update MS Edge version to latest
2022-05-02 22:34:13 -04:00
Robin Dunn
97e4461af9
Fix detection of default architecture
2021-12-17 14:31:15 -08:00
Robin Dunn
9627bb8035
Merge branch 'master' into update-wx
2021-12-13 21:40:18 -08:00
Robin Dunn
b528e68ead
Force use of builtin libs on macOS, rather than any that might be found on the system
2021-12-03 08:42:17 -08:00
Robin Dunn
4488663deb
A little cleanup and add 3.10 to list for runtime DLL selection
2021-12-02 16:15:39 -08:00
Robin Dunn
f1bc116047
fix indentation
2021-12-02 16:07:04 -08:00
Robin Dunn
7725f466e5
Some tweaks to fix multi-architecture builds on maxOS
2021-11-30 15:58:38 -08:00
Robin Dunn
f47014b2b7
Preset some complier flags for when waf does its test build in the configure stage
2021-11-30 15:49:58 -08:00
Robin Dunn
577e8d4714
Handle Python versions that have more than one digit in the minor component
2021-11-30 15:44:44 -08:00
Robin Dunn
9484fe66f1
update waf
2021-11-30 15:42:29 -08:00
Christian Clauss
25ba122168
Fix typos discovered by codespell
2021-08-07 18:55:49 +02:00
Robin Dunn
224630cf64
Add Config.SIP_TRACE flag
2021-01-07 13:43:11 -08:00
Robin Dunn
c385873d70
Add SIP_ABI to the config object
2021-01-05 11:11:26 -08:00
Robin Dunn
c8e25b79e1
Run SIP via its Python interface rather than as a separate subprocess
2021-01-05 11:01:25 -08:00
Robin Dunn
63b8099bc2
Enable building the docker-based builds with gtk2 (for those that support it.)
2020-11-25 13:12:18 -08:00
Robin Dunn
59673db44c
Update webview2 DLLs and etc. to 1.0.622.22
2020-10-22 15:05:37 -07:00
Robin Dunn
2497454917
Add flag for turning off MS edge support, code to download the dev files, etc.
2020-10-13 13:18:09 -07:00