Commit Graph

64 Commits

Author SHA1 Message Date
rdb 54b93116e8 Merge branch 'release/1.10.x' 2020-09-16 10:59:59 +02:00
rdb 7711757d3d makewheel: add Python DLL before adding panda3d modules
This should ensure that dependencies of Python (such as VCRUNTIME140.DLL) make it into the deploy_libs folder, rather than the panda3d folder.
2020-09-14 11:56:25 +02:00
rdb dcc08ac572 Merge branch 'release/1.10.x' 2020-07-25 14:58:35 +02:00
rdb 2cb5b95d08 makewheel: Fix DLL location when building with --no-copy-python
This fixes a missing libffi-7.dll dependency of _ctypes.pyd
2020-07-01 11:14:13 +02:00
rdb d799a09002 cleanup: Remove support for EOL versions of Python
Fixes #905
2020-04-26 20:07:56 +02:00
Donny Lawrence afba3ba01c makewheel: Support deps referenced by @rpath
The new CMake build system uses @rpath rather than @loader_path when
specifying a library's dependencies. Since rpaths are set by the
executable, we don't need to do any path manipulation to relocate the
libraries to a .app bundle like we do with @loader_path.

Fixes #913
2020-04-25 10:37:59 +02:00
rdb 30d9f88f8e Merge branch 'release/1.10.x' 2020-04-01 18:53:00 +02:00
rdb 783c721cef makewheel: strip codesign signature on macOS from libpython3.x.dylib
This is necessary because install_name_tool invalidates the signature, which causes the whole app to fail validation and refuse to open.
2020-03-29 15:34:01 +02:00
rdb 515ce931b9 Merge branch 'release/1.10.x' 2020-03-08 10:37:05 +01:00
rdb 8a86ca97eb makewheel: don't include libpythonX.Y.a in wheel
Fixes #839
2020-03-02 11:00:00 +01:00
rdb c59b91f503 Merge branch 'release/1.10.x' 2020-02-23 14:53:16 +01:00
rdb f57cd186bb makewheel: fix location of libpythonX.Y.so on Debian/Ubuntu 2020-02-23 10:20:38 +01:00
rdb 8ff2064fe5 makepanda: auto-detect manylinux2010 and manylinux2014 platforms 2020-02-22 12:10:55 +01:00
rdb b78b7be326 Merge branch 'release/1.10.x' 2019-12-30 01:50:54 +01:00
rdb 5eb40b9061 makewheel: remove maya2egg#_bin.exe from entry_points.txt
These are not intended to be invoked by the user directly, so .exe wrappers do not need to be generated.  maya2egg will find the _bin equivalent by looking for it next to the executable itself.
2019-12-28 21:27:58 +01:00
rdb a72be90f17 Merge branch 'release/1.10.x' 2019-10-29 23:13:22 +01:00
rdb e1df400f87 makewheel: add pandac/input/*.in interrogatedb files
These are present in the normal SDK builds and are useful for analyzing the API, for example for generating FFI code or generating API documentation.
2019-10-29 20:44:52 +01:00
rdb 665d2fc56b Merge branch 'release/1.10.x' into incoming 2019-08-23 10:53:09 +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 a40228202b Merge branch 'release/1.10.x' 2019-08-18 22:34:23 +02:00
rdb 9fac30b3e8 makepanda: Python 3.8 no longer has d/m SOABI flags 2019-08-14 15:07:23 +02:00
rdb df8ccdb7ab Add support for Python 3.8 2019-08-13 17:48:32 +02:00
rdb 0c557b08bf Merge branch 'release/1.10.x' 2019-07-26 08:33:04 +02:00
rdb 9caae6520e makewheel: add more project URLs to wheel metadata
[skip ci]
2019-07-22 20:02:13 +02:00
rdb 00d7973925 makewheel: remove outdated comment
[skip ci]
2019-07-22 19:18:38 +02:00
rdb fce282ea33 Emit warning when importing panda3d using Python 2.7
Fixes #602
2019-05-03 22:04:24 +02:00
rdb c41c2219c4 makewheel: add long description to METADATA file 2019-02-14 22:41:59 +01:00
rdb 55ac585745 makewheel: exclude libdrm.so.2 which causes GLX context failure 2019-02-12 19:04:38 +01:00
rdb 83e41262bd makewheel: use all supported Python versions as classifier
Otherwise, PyPI wil pick the ones for the first uploaded wheel, which means that Panda3D will not be indexed under all Python versions on PyPI.

Also add a few more classifiers.
2019-01-10 21:39:44 +01:00
Mitchell Stokes 587237577f deploy-ng: Move distribution related files from direct.showtutil to direct.dist 2018-12-18 20:33:12 -08:00
rdb c0138930c9 makewheel: properly chmod libraries that have no write permissions
Seems to be necessary on macOS for install_name_tool to be able to work on some libraries.  Not sure why fchmod/fstat isn't working right.
2018-12-16 22:37:23 +01:00
rdb e12ff1140b makewheel: fix picking up libssl/libcrypto for _hashlib on macOS 2018-12-09 20:29:19 +01:00
rdb a0af670dc7 makewheel: don't try to resolve deps with absolute path 2018-12-09 20:26:54 +01:00
rdb cf65010a54 Merge branch 'master' into deploy-ng 2018-11-06 23:40:24 +01:00
rdb 995ba28650 makepanda: allow building multiple Python versions in one built dir
This is done by adding a PyTargetAdd function, which builds the target into a Python ABI-specific temporary directory, allowing multiple Python versions to be built into the same built dir side-by-side.  This could greatly speed up buildbot builds.

It also paves the way for building multiple Python versions in the same makepanda call / installer by changing PyTargetAdd to add one target per enabled Python version.
2018-11-06 20:15:19 +01:00
rdb 3a206ed7c4 makewheel: ignore dependencies of panda3d_tools/pstats 2018-09-17 17:58:57 +02:00
rdb 0af1b9c988 makewheel: update manylinux1 platform check for latest image
[skip ci]
2018-09-17 16:39:09 +02:00
rdb 8b927318cb makewheel: on manylinux, should include all lib dependencies
(Except for those explicitly whitelisted in PEP 513)
2018-08-20 19:13:16 +02:00
Mitchell Stokes 49c47164ff Merge remote-tracking branch 'origin/master' into deploy-ng 2018-08-12 19:58:15 -07:00
rdb c959d274be makewheel: add __version__ and docstring to panda3d/__init__.py 2018-08-03 20:22:09 +02:00
rdb 94b5fa1e90 deploy-ng: fix inclusion of additional python DLLs (eg. sqlite, tk)
Fixes: #239
2018-02-24 21:37:23 +01:00
rdb 2c35d7a8e9 deploy-ng: changes to make macOS app bundles work correctly 2017-12-21 15:49:16 +01:00
rdb c911ba8059 Merge branch 'master' of github.com:panda3d/panda3d into deploy-ng 2017-12-21 15:10:53 +01:00
rdb 58917e6746 deploy-ng: fix failure to include libpython (particularly on macOS) 2017-12-21 13:15:45 +01:00
rdb c1fb44ad69 makewheel: fix binary data being doubled 2017-12-21 11:39:19 +01:00
Mitchell Stokes fcb1d9308b Merge branch 'master' into deploy-ng 2017-11-25 14:58:25 -08:00
rdb a7e00d0ee6 makewheel: use platform from build 2017-11-24 17:48:25 +01:00
rdb 19fe51eddd makewheel: fix sha256 hashes being surrounded with b'' in Python 3 2017-11-03 20:05:24 +01:00
rdb e0a3788636 Move metadata to setup.cfg; also use this for pytest configuration
This makes it possible to run pytest in the root directory.  It also lets us store metadata such as the current version number, preventing us from having this in several different places, and allowing us to phase out parsing dtool/PandaVersion.pp.
2017-11-03 20:04:37 +01:00
Mitchell Stokes c155e840b3 Merge remote-tracking branch 'origin/master' into deploy-ng 2017-05-27 15:36:49 -07:00