105 Commits

Author SHA1 Message Date
rdb
1c018f5bdb deploy-ng: fixes for FreeBSD 2017-09-19 22:03:44 +02:00
rdb
42d5874255 deploy-ng: fix cross-building for Windows and Python 2 2017-09-06 13:17:21 +02:00
Mitchell Stokes
dcef0c3c5d deploy-ng: Fix for finding Python extension modules when not running the frozen binary in the binary's directory 2017-08-19 21:36:06 -07:00
Mitchell Stokes
d2d76c8a75 deploy-ng: Fix finding pyd files in whl files on Windows 2017-07-05 19:32:09 -07:00
rdb
55ce23fbba deploy-ng: only include libraries referenced by used modules 2017-05-31 02:08:30 +02:00
rdb
a686f501b6 deploy-ng: fix .so modules not being picked up on macOS 2017-05-31 02:04:33 +02:00
Mitchell Stokes
26e7c3c52b deploy-ng: Add more enocdings modules to FreezeTool.startupModules 2017-05-27 15:30:19 -07:00
Mitchell Stokes
961487cd3d deploy-ng: Fix to allow namespace packages 2017-05-22 21:52:51 -07:00
Mitchell Stokes
5cfbd57d99 FreezeTool: Add encodings.cp437 and imp to startupModules 2017-01-28 21:09:33 -08:00
Mitchell Stokes
eec5c997c0 deploy-ng: Use length-prefixed strings for writing modules to deploy-stub
This wastes less space than always using 256 characters for every module
name.
2017-01-19 19:43:11 -08:00
Mitchell Stokes
af57eac463 deploy-ng: Add moduleSuffixes for macOS 2017-01-14 11:53:29 -08:00
Mitchell Stokes
db4516b796 deploy-ng: Look for correct platform suffixes for Python extension modules when cross-building
Note: We still need to supply suffixes for macOS. Also, Linux suffixes
are based on suffixes on my system (Arch, Python3) and will likely need
to be tweaked.
2017-01-09 20:17:27 -08:00
rdb
31136124c7 deploy-ng: fix issues with Python 3 / Windows / Unicode, add deploy-stubw 2017-01-06 01:42:00 +01:00
rdb
1387f22200 FreezeTool: add missing import. 2017-01-04 20:19:04 +01:00
rdb
13c41bcf7d FreezeTool: find modules in zip files, allow custom suffixes list 2017-01-04 20:12:56 +01:00
Mitchell Stokes
5af7136aa2 deploy-ng: Support copying panda3d files from wheels instead of the current environment
Note: Extension modules are still coming from the current environment.
We'll need to sort this out before we get true cross-platform building.

Also, we need a proper interface for specifying platforms/wheels. At the
moment, a wheels parameter is supplied to setup() and platforms are
determined based on the wheels in this list.
2017-01-02 19:42:49 -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
Mitchell Stokes
b1a57643f9 Move runtime generation logic from yapdt to FreezeTool 2016-11-08 19:40:30 -08:00
rdb
47388b0dbc Separate out CPython calls from core libs; eliminate need for pystub 2016-07-20 14:30:41 +02:00
rdb
7a681dc993 Python 3 fixes for rtdist builds 2016-05-29 02:01:57 +02:00
rdb
388c8d698d pfreeze: Extension module link support on Windows. Add explicit -k option for keeping temp files. 2016-05-02 20:02:31 +02:00
rdb
6c70b41a21 Various pfreeze improvements, allow linking in extension modules 2016-05-02 16:46:58 +02:00
rdb
23bf9ea5c7 The direct tree is now valid Python 2 *and* 3 2016-03-28 22:33:30 +02:00
rdb
8badce2fdb pfreeze now supports Python 3 2016-03-26 12:03:45 +01:00
rdb
54fa31ba17 StandardError -> Exception, other 2to3 changes, threaded 2to3 2016-03-25 17:13:09 +01:00
rdb
d906f55ebf Fix rtdist error when using Python 3.5 2016-03-25 15:23:45 +01:00
rdb
0d03207d1b Dramatically reduce size of frozen/compiled code by pruning/masking unnecessary imports/code 2016-02-12 22:20:27 +01:00
rdb
0a9f9887f9 Merge branch 'release/1.9.x'
Conflicts:
	direct/src/p3d/Packager.py
	direct/src/p3d/ppackage.py
	makepanda/makepandacore.py
2015-11-21 03:17:33 +01:00
rdb
f0e8dd4117 Build .p3d tools as part of SDK build process, if host URL and distributor are specified 2015-11-20 17:44:28 +01:00
rdb
532bee3b9e More fixes to Python 3 rtdist, frozen p3dpython building, new open 2015-09-23 11:57:55 +02:00
rdb
445c3461d6 Python 3 support to rtdist, reimplement VFS open() on top of io.IOBase, allow freezing into .c target, make VFSImporter and friends frozen into p3dpython 2015-09-18 21:20:25 +02:00
rdb
3e6e355577 Fix error building rocket package on 1.9 branch 2015-08-10 04:35:15 +02:00
rdb
63c65b4228 Merge remote-tracking branch 'origin/release/1.9.x'
Conflicts:
	direct/src/showutil/FreezeTool.py
2015-08-10 04:02:53 +02:00
rdb
2abc51d88f Allow specifying contents of .py modules with file(text=...) in pdef 2015-08-10 01:57:00 +02:00
rdb
74190f9e50 Work towards supporting Python 3 in the rtdist 2015-08-08 20:49:51 +02:00
rdb
0cecab3124 Fix issues with the rtdist build in 1.10 2015-07-28 15:40:04 +02:00
rdb
d9342043b0 Deprecate pandac.PandaModules and genPyCode, move extensions to panda3d/, clean up imports and deprecated behaviour 2015-06-28 13:55:31 +02:00
rdb
5827959056 Fixes for 64-bit OS X build on newer OS X versions 2015-03-29 22:06:32 +02:00
rdb
bcb203af9a Mac OS X build improvements 2015-03-29 18:09:28 +02:00
rdb
3371df8403 Fix tp_compare, better __repr__/__str__ handling 2015-03-25 19:36:35 +01:00
rdb
0aa0f34c74 Lots of work to make the rtdist work with the new library building system 2015-01-12 15:02:42 +01:00
rdb
9f46ad7835 FreezeTool shouldn't assume that panda3d.py exists 2014-11-09 11:09:24 +00:00
rdb
3403c8748e Fix use of outdated exec and repr syntax 2013-12-17 18:05:45 +00:00
rdb
f54c1241ae slightly less unhelpful error messages 2013-08-25 19:38:02 +00:00
rdb
808ca386c4 Fix error for modules where __file__ is None 2013-07-23 18:03:46 +00:00
David Rose
87590d6d09 more robust fixes for moduledir vs. moduledir/__init__ confusion 2013-06-12 22:41:24 +00:00
David Rose
da9ee4c165 use win_amd64 instead of win64, and win_i386 instead of win32 2012-10-01 18:24:13 +00:00