Commit Graph

7114 Commits

Author SHA1 Message Date
rdb c839dc60d6 Merge remote-tracking branch 'origin/master' into deploy-ng 2016-12-28 12:11:37 +01:00
rdb ab5b5e7e74 Merge branch 'release/1.9.x' 2016-12-25 22:47:22 +01:00
rdb c1d6e93166 Don't link extension modules with libpython; changes to help w/ building whls
This fixes compatibility issues with homebrew Python on Mac OS X.

This introduces a --no-directscripts flag to disable building packpanda and eggcacher, which require linking with libpython (which is not available on manylinux).  When building a wheel, the packpanda and eggcacher modules can instead be added to console_scripts in the entry_points definition.
2016-12-21 17:57:13 +01:00
rdb 1808ad217c Fix Python 3 error in particle sample in 1.9 2016-12-20 23:14:58 +01:00
Mitchell Stokes 74a7d4ee48 deploy-ng: Remove Python version string from the filename of copied extension modules 2016-12-18 15:02:49 -08:00
Mitchell Stokes 2923af7d44 deploy-ng: Add bdist_panda3d command to create archives for each built platform
Linux platforms use tar.gz and everything else (Windows, macOS) uses
zip. Later we will want to add an option to control this. Also,
bdist_panda3d currently auto-runs build. We will want an option to skip
this build step for debug/testing purposes.
2016-12-18 14:42:15 -08:00
Mitchell Stokes 086e61f9c3 deploy-ng: Replace startfile keyword with applications
applications is a list of Application objects. The Application
constructor takes two arguments: scriptname and runtimename. The
scriptname argument is the path to the Python script that acts as the
entry point to the application. The runtimename argument is the name
that will be given to the frozen runtime.
2016-12-18 11:43:40 -08:00
Mitchell Stokes 7bf2b12f09 deploy-ng: Replace game_dir keyword with directories, files, and exclude_paths
Also, mainfile has been replaced with startfile.
2016-12-18 11:32:56 -08:00
rdb 2dab76131c deploy-ng: support nested extension modules; omit unused panda3d.x modules 2016-12-11 19:38:14 +01:00
rdb bae19a203b deploy-ng: changes to make it work on Windows 2016-12-08 13:21:10 +01:00
rdb 4335e3759a Update Py_FrozenMain to work with Python 3.2 2016-12-06 02:14:39 +01:00
rdb f001bd20d7 deploy-ng: fix issues with Mac/Python 2 build 2016-12-05 18:55:04 -05:00
rdb 70386795f4 Merge branch 'master' into deploy-ng 2016-12-05 18:10:49 -05:00
rdb 83507e413f Fix Mac OS X Snow Leopard build 2016-12-05 16:30:44 -05:00
rdb 4a8f1839ea 1.9: change to support .whl distribution (putting panda DLLs in panda3d/ dir) 2016-12-01 17:41:07 +01:00
Mitchell Stokes b9b8782320 Distutils: Add extras build option to copy extra files not normally copied (e.g., ones outside of the game directory) 2016-11-13 11:57:33 -08:00
Mitchell Stokes b11ec02acb Distutils: Copy over panda3d and libs
TODO: Currently all of the libs and the whole panda3d module gets copied
over. We should make use of Packager code to trim this down.
2016-11-13 10:35:06 -08:00
Mitchell Stokes c208265343 Distutils: Add exclude_modules option 2016-11-13 10:03:37 -08:00
Mitchell Stokes 8d44e73fcc Remove yapdt
Distutils/setup.py should be used instead.
2016-11-09 18:10:51 -08:00
Mitchell Stokes 9921cd5a97 Distutils: Create per-platform build directories 2016-11-09 18:00:57 -08:00
Mitchell Stokes a628dd6edc Distutils: Skip copying frozen Python packages 2016-11-09 17:50:54 -08:00
Mitchell Stokes df7e3f03e2 Fix mainfile option in setup.py 2016-11-08 19:40:30 -08:00
Mitchell Stokes e9ae6b5bb1 Copy game files when using setup.py 2016-11-08 19:40:30 -08:00
Mitchell Stokes 471090d1b4 Adding a dist module that can be imported to use FreezeTool as part of setup.py 2016-11-08 19:40:30 -08:00
Mitchell Stokes b1a57643f9 Move runtime generation logic from yapdt to FreezeTool 2016-11-08 19:40:30 -08:00
Mitchell Stokes aa6e722941 Create experimental yapdt (Yet Another Panda3D Deployment Tool)
This uses FreezeTool and a new deploy-stub binary to create frozen
applications without needing a compiler when running the tool. This tool
is for experimenting with deployment options and is currently inflexible
and hacky.
2016-11-08 19:40:30 -08:00
Tohka e9a43a21fa Remove PiratesMagicWordManager VR Studio code reference 2016-11-04 02:41:41 +07:00
Mitchell Stokes 59b0913b0b Cleanup .gitignore files
Remove all .gitignore files in subdirectories and add a few new ignores
to the top-level directory .gitignore file.
2016-10-30 20:06:12 -07:00
rdb d43f0ef909 Fix DirectScrolledList regression 2016-10-28 12:09:14 +02:00
rdb 1049088f11 Clean up some of the dtool_config.h variables 2016-10-24 22:10:46 +02:00
rdb f1f4951fb5 Merge remote-tracking branch 'origin/release/1.9.x' 2016-10-13 00:25:57 +02:00
rdb f363088cb2 Fix exception when creating intervals before ShowBase is started 2016-09-30 00:21:12 +02:00
rdb 6962f56915 Add back pandac.extension_native_helpers for compatibility 2016-09-14 22:45:19 +02:00
deflected 234e7eefee loader: Added loading of 2D texture array
Signed-off-by: deflected <deflected@users.noreply.github.com>
2016-09-12 13:21:23 +03:00
rdb 70f10a70d1 Merge branch 'release/1.9.x' 2016-09-12 00:48:03 +02:00
rdb 3ce808c705 Fix in-place asyncFlattenStrong 2016-09-11 20:28:33 +02:00
rdb 977228c493 Improve memory consumption of packp3d/ppackage by not caching models/textures in RAM
Fixes https://bugs.launchpad.net/panda3d/+bug/1609882
2016-09-11 19:44:46 +02:00
rdb 61b7af74db Merge branch 'release/1.9.x' 2016-09-08 22:18:50 +02:00
rdb 25cfec3760 Pass Ctrl+C on to child process when running panda3d from cmd-line 2016-09-08 22:09:45 +02:00
rdb 4ec5b77678 Fix error with async flatten 2016-08-27 20:11:18 +02:00
rdb 67998eaec2 Buffer viewer should override texture filter settings; fixes filtered shadow maps and edge bleeding 2016-08-27 19:24:23 +02:00
rdb 82b7728683 Merge remote-tracking branch 'origin/release/1.9.x' 2016-07-20 14:32:34 +02:00
rdb 47388b0dbc Separate out CPython calls from core libs; eliminate need for pystub 2016-07-20 14:30:41 +02:00
rdb e691a679d4 Fix timestamp verification in FileSpec on some file systems 2016-07-20 11:44:39 +02:00
Michael Wass 7e20626915 Fix a TypeError in direct.fsm.FSM 2016-06-28 12:15:00 -04:00
Sam Edwards 0846a89677 general: Stop using several deprecated pandac.PandaModules imports. 2016-06-27 00:06:40 -07:00
rdb f068a8613b Fix a few unnecessary uses of exec/eval 2016-06-22 13:50:58 +02:00
rdb 4283a63a7d Merge branch 'release/1.9.x' 2016-06-11 01:29:14 +02:00
rdb 12873c0d7e Fix wxPython and tkinter issues on Mac OS X 2016-06-10 02:02:36 +02:00
rdb 5675e0de56 Merge branch 'release/1.9.x' 2016-06-07 22:08:00 +02:00