Commit Graph

39 Commits

Author SHA1 Message Date
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
rdb d576c6b638 Improvements to generated API docs, especially in direct tree.
Also add an entry point for pfreeze.
2017-05-24 13:30:21 +02:00
Mitchell Stokes 66ef8f7c2a deploy-ng: Rename build_p3d to build_apps and bdist_p3d_archive to bdist_apps 2017-02-11 16:04:48 -08:00
Mitchell Stokes b8ee352ebb deploy-ng: Create entry_points in makewheel for dist commands
This allows setuptools to automatically find build_p3d and
bdist_p3d_archive.

NOTE: Importing direct.showutil.dist.setup still works for installs that
are not using wheels.
2017-01-28 21:09:33 -08:00
rdb 3fabe6a8de makewheel: fix inclusion of libpython on macOS 2017-01-14 15:35:08 +01:00
Mitchell Stokes 3347a6e2cb makewheel: Add libpython to deploy_libs
TODO: See if there is a better way to do this and to test/implement macOS support.
2017-01-10 18:42:59 -08:00
Mitchell Stokes 25b167c080 makewheel: Use less restrictive extension module suffix on py3 2017-01-09 19:49:18 -08:00
Mitchell Stokes 40c23e5cf1 makewheel: Use _ctypes instead of cmath for get_python_ext_module_dir()
Also switch back to using __file__ instead of inspect.
2017-01-06 08:07:20 -08:00
Mitchell Stokes a5bea8f8b0 makewheel/deploy-ng: Use inspect.getfile(cmath) instead of cmath.__file__ for get_python_ext_module_dir() 2017-01-05 20:35:59 -08:00
Mitchell Stokes 2fa4ef1c7e makewheel/deploy-ng: Try import cmath instead of _sha1 for get_python_ext_module_dir()
The Python2 Windows buildbot did not like _sha1.
2017-01-05 20:17:38 -08:00
Mitchell Stokes 465d8bf1bd makewheel: Copy Python stdlib C extension modules to deploy_libs 2017-01-05 19:28:21 -08:00
rdb 53752bd376 Remove packpanda and eggcacher, don't require libpython on Linux 2017-01-05 17:22:11 +01:00
rdb 325302b623 makewheel: support building single-arch .whl from a fat Panda build 2016-12-26 17:36:38 +01:00
rdb 23a345437a makewheel changes for macOS, manylinux1, Python 2.6 2016-12-25 16:10:06 +01:00
rdb b2ccf6c0d2 Add ability to produce .whl file
Based on original version by pennomi
Closes: #83
2016-12-19 23:35:05 +01:00