Commit Graph

34 Commits

Author SHA1 Message Date
rdb dbeab0b97b makepanda: Backport Python 3.13t build fixes 2024-10-29 19:20:27 +01: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 d4d4aefbce makepackage: Force creating .dmg as HFS+ for 10.9 compatibility
Fixes #1502

[skip ci]
2023-06-08 13:47:33 +02:00
rdb ae6be7e113 makepackage: Fix extra comma in deb depends line when building without Python 2022-01-05 08:14:25 +01: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
Stephen A. Imhoff c2635d2498 makepanda: Add rpmversion for packaging.
Closes #1220
2021-12-26 12:30:00 +01:00
rdb 78e23c018c makepackage: Update links to manual in Windows installer for Sphinx 2020-12-22 16:10:08 +01:00
rdb eea0abe488 makepackage: Only copy Frameworks dir if present and not empty
This directory may now be vestigial as of the previous commit.

[skip ci]
2020-12-21 22:16:36 +01:00
rdb aace94a521 makepanda: Fix version checks for macOS 11.0 Big Sur
Fixes #1056
2020-11-25 01:22:26 +01:00
rdb 7f11dc19cd makepanda: fix ABI flags not being stripped from PYTHONVERSION 2020-09-14 19:31:07 +02:00
rdb 54ffc534fb makepanda: Fix various issues building with Python 3.10 2020-09-12 22:49:46 +02:00
LD 87a1be4d4e makepackage: Add warning in macOS installer about change of installdir
Closes #830
2020-01-06 16:17:02 +01:00
rdb 8137bea8f8 makepackage: fix regression in MakeInstaller on Windows 2020-01-05 18:52:26 +01:00
rdb b7017669a1 makepackage: fix None installdir when not passing in any on macOS 2020-01-04 14:14:12 +01:00
Donny Lawrence 2d4647ea33 makepackage: Change macOS install location
Starting with macOS 10.15, we can no longer install into /Developer/Panda3D due
to it not being one of the sanctioned writable directories. This commit changes
the default install location to /Library/Developer/Panda3D, which is the next
best place to put it (discussion on this can be found in #760).

To keep compatibility with those who may rely on the old location, some
postinstall scripts have been added that create symlinks to the new location
if running on 10.14 or older.

Fixes #760
Closes #825
2020-01-04 02:57:21 +01:00
rdb 4ceb494127 makepackage: allow Homebrew Python to find Panda3D libraries 2019-10-05 20:55:23 +02:00
rdb 64982f8b14 makepanda: makepackage/makewheel take default version from setup.cfg
dtool/PandaVersion.pp is obsolete and will be removed soon.
2019-08-20 13:23:11 +02:00
rdb 2b0a2ea6df makepanda: allow passing in more than 3 digits in version number 2019-08-19 21:57:49 +02:00
rdb b94e080ad2 makepackage: apply workaround for bpo-28440 to 2.7 and 3.8+ too
See #502
2019-08-17 19:59:20 +02:00
deflected 0840e80f54 makepanda: Fixed building of FreeBSD installer
- Include the python bindings when building the FreeBSD
        installer

Signed-off-by: deflected <deflected@users.noreply.github.com>

Closes #585
2019-03-17 11:56:19 +01:00
rdb eef2a93163 makepanda: allow building for Android from Windows machine 2019-01-20 15:59:08 +01:00
rdb c0b973b789 makepanda: support cross-compiling for Android again 2019-01-20 00:32:26 +01:00
rdb 85ca6f66f2 makepackage: add some missing imports 2019-01-19 23:02:30 +01:00
John Cote e8f0e03043 makepackage: Don't include deploy-stub when building .rpm
Attempting to include deploy-stub in the .rpm would cause rpmbuild to fail, as deploy-stub isn't present.

Closes #527
2019-01-11 10:42:38 +01:00
rdb e215ff2928 makepackage: fix error building macOS package for Python 3.x only 2019-01-09 19:20:45 +01:00
rdb 9ff536432d makepackage: fix locating Panda3D on sys.path on macOS w/ Py 3.7
Also moves panda3d.dist-info directory to /Developer/Panda3D/ so that deleting /Developer/Panda3D makes it possible to install panda3d via pip again.

Fixes #502
2019-01-03 15:04:53 +01:00
rdb ee6531abee makepackage: copy over panda3d.dist-info dir on macOS 2018-12-26 23:45:00 +01:00
rdb ae74e2d18e makepackage: avoid packaging deploy-stub with installers 2018-12-26 23:42:39 +01:00
rdb 862906b86d makepackage: install for multiple Python versions on Windows
See #441
2018-12-24 21:38:46 +01:00
rdb d180be2acc makepackage: build macOS installer for multiple Python versions
See #441
2018-12-24 13:50:12 +01:00
rdb 395b9733fb makepanda: when making Linux package, ship Python 2 and 3 bindings
See #441 for discussion.
2018-12-23 22:28:12 +01:00
rdb b474ef6b1e makepanda: split out installer code into separate makepackage.py 2018-12-09 19:00:01 +01:00