Commit Graph

1441 Commits

Author SHA1 Message Date
rdb 2ecbd54640 installer: Add Python 3.15 2025-12-01 10:20:55 +01:00
rdb fd5258fe09 makepanda: Skip building TinyOsxGraphicsWindow when building 64-bit
Also disable linking AGL on macOS SDK 26.0, which has removed it
2025-11-12 11:39:22 +01:00
rdb a311ad876f test_wheel: Add --ignore option to ignore tests 2024-10-31 13:07:02 +01:00
rdb c2de5c306f makepanda: Don't link p3dcparse with pystub
pystub doesn't really define enough symbols to be useful with newer Python versions, and it seems that there are compile errors with python 3.13t on manylinux2014 due to conflicts with the Python library itself
2024-10-30 20:19:05 +01:00
rdb e2d9d3ef7c makepanda: Fix python DLL not being copied into wheel on 3.13t 2024-10-30 20:18:30 +01:00
rdb 5b80f19d01 Changes in preparation for Python 3.14 2024-10-30 14:13:44 +01:00
rdb df5f8d77da makepanda: Build fixes for Python 3.13t on Windows 2024-10-30 13:17:33 +01:00
rdb e238588118 makepanda: Fix wrong flag for excluding pythonXX_d.lib 2024-10-30 13:17:11 +01:00
rdb dbeab0b97b makepanda: Backport Python 3.13t build fixes 2024-10-29 19:20:27 +01:00
rdb b6ec48b27c Fix invalid metadata version 2.0 (should be 2.1) 2024-05-28 22:28:37 +02:00
rdb d44f9ae3dc makepanda: Use new dist hooks location introduced by 1f41edd
Fixes #1624
2024-03-27 12:01:53 +01:00
rdb 06b9e3af8b makepanda: Remove net.py(d) file if present
In anticipation of #1466

[skip ci]
2024-03-01 17:50:48 +01:00
rdb 16afdd2bf9 Prepare installer.nsi for Python 3.13 2024-01-23 14:24:37 +01:00
rdb 876512932a makepanda: Add _d suffix to .pyd files in debug mode on Windows
Fixes #1566
2024-01-08 14:13:51 +01:00
rdb a0ea85d39e test_wheel: Put python DLL on system PATH for FreezeTool unit test 2023-10-15 14:28:38 +02:00
rdb 2a5228b05f Fix compatibility with Python 3.12 by removing use of imp module
Some modules (such as VFSImporter, and various modules in direct.p3d that depend on it) are still unavailable.
2023-10-13 13:21:34 +02:00
Mitchell Stokes 521cad206d makepanda: Stop using deprecated distutils (#1549)
Just duplicating locations.py from direct. It's a bit ugly, but
makepanda is getting phased out anyways.

Co-authored-by: rdb <git@rdb.name>
2023-10-13 10:13:28 +02:00
rdb d5263b597b makepanda: Strip version suffixes when parsing setup.cfg metadata
Fixes #1539
2023-10-09 17:02:57 +02:00
rdb dcc96a60b1 makepanda: Make version parsing in CreatePandaVersionFiles more robust 2023-10-09 16:50:59 +02:00
rdb d4d4aefbce makepackage: Force creating .dmg as HFS+ for 10.9 compatibility
Fixes #1502

[skip ci]
2023-06-08 13:47:33 +02:00
rdb 27d3aed2d3 makepanda: Fix detection issues with newer macOS/XCode versions 2022-12-06 17:30:26 +01:00
rdb 0a8e4e31f8 makepanda: Add handling for manylinux_2_28
Note that this version drops 32-bit intel support
2022-12-06 14:43:06 +01:00
rdb f9ebca2bec makepanda: Fixes to pview.desktop
It accepts multiple files (not URLs), and it doesn't actually handle startup notification properly, so don't keep showing that spinner
2022-11-30 23:41:47 +01:00
rdb e5d36e2d01 makepackage: Add instructions for installing Python 3.12 bindings 2022-11-29 20:13:49 +01:00
rdb 50cfdebd9c pstats: Integrate Python profiler with PStats
Enabled with `pstats-python-profiler 1`, requires recent version of PStats server.

Currently, it is limited to the main thread only.  Support for other threads may be added at a later date.
2022-11-29 16:00:09 +01:00
rdb f54747c213 makepanda: Make error about Android architecture suggest solution 2022-11-29 14:23:32 +01:00
rdb 03d411c937 dist: Workaround to disable autodiscovery in setuptools>=61.0.0
See #1394 - creates a new finalize_distribution_options entry point that makes sure that either `py_modules` or `packages` is present, otherwise setuptools  will activate its new auto-discovery system, even for custom commands that don't need setuptools' discovery system.

However, this is not a great solution, because it applies when running all setuptools commands, not just build_apps.
2022-11-19 13:14:18 +01:00
rdb 84a69e1689 makepanda: Don't re-export harfbuzz symbols from libpanda.so
Shot in the dark at fixing #1391 (but this change is a good idea anyway)
2022-11-13 11:25:45 +01:00
rdb 587f9f7bcd makepanda: Fix issues when building on arm64 without `--arch` flag
Logic in various places seems to assume `OSX_ARCHS` contains `arm64` in this case
2022-10-31 19:25:47 +01:00
rdb 77e3033c42 makepanda: Fix ExecutionEnvironment.args being empty on Linux 2022-10-19 15:45:40 +02:00
rdb cd7abbb797 makepanda: Copy missing CMotionTrail header file 2022-10-17 16:39:42 +02:00
rdb 8617eb917c makepanda: Force DT_RPATH instead of DT_RUNPATH for deploy-stub
Fixes #1358
2022-08-31 10:28:08 +02:00
rdb c966a6898c makepanda: Fix naming of wheels for macOS 12.0 2022-08-31 09:22:40 +02:00
rdb 91dd802de6 dist: Include `_sysconfigdata` module properly
Fixes #1326
2022-06-29 16:07:48 +02:00
rdb 6fb2acc9cd makepanda: Always build tinydisplay, even without X11, for offline rendering
Closes #1288

Co-authored-by: Brian Gontowski <brian@gontowski.com>
2022-05-10 15:58:34 +02:00
rdb ad187b29f8 makepanda: Force choose correct extension suffix for Windows
Even when cross-compiling for 32-bit using a 64-bit copy of Python, and vice versa
2022-03-02 10:03:48 +01:00
rdb b401884f1c makepanda: Support building with OpenEXR 3.0 or 3.1 on Windows 2022-02-07 11:12:10 +01:00
rdb 3c142a61ab makepanda: Properly detect keyboard interrupts on Windows 2022-02-07 11:10:32 +01:00
rdb a37dfa727e makepanda: Support building with mimalloc on Windows, experimentally
Partial backport of 07545bc9e3 for Windows, requires building with `--override USE_MEMORY_MIMALLOC=1 --override USE_DELETED_CHAIN=UNDEF` for optimum effect
2022-02-06 15:29:25 +01:00
Disyer bc6502a8fe makepanda: Record cache timestamps as integers rather than floats
We don't need the extra precision, in fact it is detrimental to restoring build caches in a cross-platform way.

This commit will invalidate all current build caches.

Cherry-picked from 2a904f3985 (see #1260)
2022-02-06 15:29:25 +01:00
rdb a12359275f makepanda: Support building with OpenSSL 1.1.1 on Windows 2022-02-06 15:29:21 +01:00
rdb 484a9394f9 installpanda: Correct lib dir detection on ArchLinux
Eliminates a downstream patch in the AUR

[skip ci]
2022-01-14 10:42:14 +01:00
rdb bd37e8776f makepanda: Fix platform tag on aarch64 manylinux
Wheels ended up being tagged as i686.
2022-01-14 09:58:57 +01:00
rdb 38488d89a2 test_wheel: Require at least pytest 6.2.4 for Python 3.10+
See pytest-dev/pytest#8539
2022-01-05 08:33:31 +01:00
rdb ae6be7e113 makepackage: Fix extra comma in deb depends line when building without Python 2022-01-05 08:14:25 +01:00
rdb 4ce5efb044 makewheel: Remove _tkinter.so from Panda3D wheels
It is nowadays supplied in a separate wheel, see also #780

Keep it in the Windows wheel for now since that's the only platform where deploying without a separate tkinter wheel is currently supported, but will remove it on master branch
2022-01-04 15:31:21 +01:00
Stephen A. Imhoff e3a49050a0 Correct location searched for 64-bit libc-2.24 2022-01-03 22:57:03 +00:00
rdb 524e2977ff makepackage: Force use of xz compression for .deb files
Impish defaults to zstd, which the version of reprepro on the hosting server doesn't support yet

[skip ci]
2022-01-03 12:11:56 +01:00
rdb c76ddd9958 makepackage: Support building deb with more than one Python 3 version
Ubuntu Hirsute, Impish, and presumably Jammy ship with both Python 3.9 and 3.10.

Also, change the dependency specifications so that only one Python version is strictly required.
2022-01-03 10:36:58 +01:00
rdb fb4b154037 makepackage: Only add python-pmw as Recommends for deb for Python 2
There is no Pmw for Python 3 in the Ubuntu repositories
2022-01-03 10:17:58 +01:00