Commit Graph

7211 Commits

Author SHA1 Message Date
Mitchell Stokes 883c6555ec deploy-ng: Add prints for progress in build_apps
Also, print out the platform when we fail to get a panda3d wheel.
2017-11-23 12:53:56 -08:00
Mitchell Stokes 6acbeb8176 deploy-ng: Fix error when running bdist_apps 2017-11-23 12:53:36 -08:00
Mitchell Stokes e827120e46 deploy-ng: Do not warn about missing manylinux1 system libraries 2017-11-22 18:46:51 -08:00
Mitchell Stokes ffdac54a0b deploy-ng: Switch copy_paths to include_paths and rename_paths 2017-11-22 18:44:07 -08:00
Mitchell Stokes 214b67c3c0 deploy-ng: Convert .egg to .egg.bam instead of .bam 2017-11-22 15:39:34 -08:00
Mitchell Stokes 949214834c deploy-ng: Fix error when build directory is missing 2017-11-22 14:02:30 -08:00
Mitchell Stokes a8d1e9444b deploy-ng: Fix build_apps user options 2017-11-22 13:15:40 -08:00
rdb 39dba025b7 deploy-ng: fix library suffix being stripped on FreeBSD 2017-11-22 21:42:17 +01:00
rdb 82ced9900e deploy-ng: allow using setup.cfg instead of setup.py 2017-11-22 20:57:03 +01:00
rdb 80b6021d22 deploy-ng: don't warn about missing Windows system libraries 2017-11-22 20:05:50 +01:00
rdb da2ad0f0bc deploy-ng: default to ACP if console codepage codec wasn't frozen
This is necessary because when Python is initialized, it takes the codec to use from GetConsoleCP() and GetConsoleOutputCP() without bothering to check whether the given codec is available.  However, in most cases, the console codepage will be the same as the ANSI codepage (ie. GetACP()) which is always supported by Python via the 'mbcs' codec.

So what we do is we check whether the console codepage is frozen in, and if not, we set the console codepage to the ANSI codepage and set the stdin/stdout/stderr encoding to 'mbcs'.

This is still not a perfect solution because the ACP may not be able to encode all characters that the application is printing, which would still result in unexpected errors.  Ideally, we'd pull in Python 3.6's _io._WindowsConsoleIO class, which bypasses this whole mess by directly using the wide-character Windows APIs to write to the console.
2017-11-22 19:33:17 +01:00
rdb 6ec4e5db68 deploy-ng: fix typo in copyfile call 2017-11-22 19:28:08 +01:00
Mitchell Stokes a2fd511db8 deploy-ng: Make use of distutils.core.Command.announce() instead of print() for verbosity levels 2017-11-21 19:02:27 -08:00
Mitchell Stokes 56ebf981df deploy-ng: Add user_options and finalize_options to build_apps 2017-11-21 18:48:42 -08:00
Mitchell Stokes 44a4d18a8e deploy-ng: Add descriptions to build_apps and bdist_apps setuptools commands 2017-11-21 18:37:17 -08:00
Mitchell Stokes 54dad81646 deploy-ng: Add RPATH to search_path when parsing ELF files 2017-11-21 14:57:15 -08:00
Mitchell Stokes 3995ea4c3b deploy-ng: Fix skipping ignored directories 2017-11-21 11:07:39 -08:00
Mitchell Stokes 37b9e256d8 deploy-ng: Raise a RuntimeError if pip is not version 9.0 or greater
This is when pip download was introduced and is required for deploy-ng.
2017-11-21 09:52:26 -08:00
rdb fba41dafae Merge remote-tracking branch 'origin/master' into deploy-ng 2017-10-26 21:23:49 +02:00
rdb 51d948a7fa Support compilation for Python 3.7 2017-10-13 12:40:47 +02:00
rdb 4dfa70115e deploy-ng: fix issues locating certain files inside .whl 2017-09-19 23:23:57 +02:00
rdb 2026879ac9 deploy-ng: change format of blob to be easily mappable by deploy-ng 2017-09-19 23:11:59 +02:00
rdb 1c018f5bdb deploy-ng: fixes for FreeBSD 2017-09-19 22:03:44 +02:00
rdb 5cf2f92597 Merge branch 'master' into deploy-ng 2017-09-19 19:51:28 +02:00
rdb b8cb517152 actor: comment out unused line of code
Fixes #170
2017-09-16 22:04:16 +02:00
rdb 42d5874255 deploy-ng: fix cross-building for Windows and Python 2 2017-09-06 13:17:21 +02:00
rdb f16cd29971 Merge branch 'master' into deploy-ng 2017-09-04 21:31:32 +02:00
rdb 1f017997f9 stdpy: fix issues with direct.stdpy.threading thread cleanup
Fixes: #164
2017-08-30 13:00:02 +02:00
rdb c66b4792d7 stdpy: protect against thread error when interpreter shuts down 2017-08-29 23:50:16 +02:00
rdb 1dc02f6a28 stdpy: fix direct.stdpy.threading cleanup issue after thread runs
Fixes: #164
2017-08-27 16:56:16 +02:00
rdb 2d1f0e4866 stdpy: update threading modules 2017-08-27 16:53:41 +02:00
kamgha b9437316b4 Add snake-case function names for 'threading2'-module
Closes: #165
2017-08-27 16:33:03 +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 894fe56d57 deploy-ng: Fix for 14fa7c 2017-07-26 21:06:48 -07:00
Mitchell Stokes 14fa7c18cc deploy-ng: Fix so whole directories can be skipped instead of skipping each file in a directory 2017-07-06 19:39:06 -07:00
Mitchell Stokes 09eb22b61e deploy-ng: Add plugins option to specify which plugins to copy
NOTE: pandagl is no longer automatically copied and a graphics plugin
must be specified.

TODO: Per-platform overrides
2017-07-06 19:33:16 -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 624f28f0d5 direct: remove snake_case alias for CommonFilters.loadShader
See #150 and #147.  Fixes Travis build.
2017-07-03 14:45:33 +02:00
Mitchell Stokes 208cb18c4c deploy-ng: Fix pathing issues when deploying from Windows 2017-07-01 15:48:51 -07:00
Mitchell Stokes e13ad8e146 Merge branch 'master' into deploy-ng 2017-06-30 21:38:34 -07:00
wezu 40c6f41da2 direct: provide snake_case functions for some classes
Closes #147
2017-06-20 21:56:03 +02:00
rdb 3eb91e38b5 CommonFilters: fix edge bleeding when using POT textures (LP 424640) 2017-06-20 19:37:57 +02:00
rdb 153c277edd Remove references to .sha filters in direct/src/filter 2017-06-12 22:52:05 +02:00
fireclawthefox cfad049992 __file__ usage in CommonFilters
Removed __file__ usage due to unavailability in deploy-ng builds
Moved Cg filters from sha files into separate python scripts
Removed now obsolete loadShader function from CommonFilters
2017-06-10 21:59:18 +02: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 c155e840b3 Merge remote-tracking branch 'origin/master' into deploy-ng 2017-05-27 15:36:49 -07:00
Mitchell Stokes db0267abcd deploy-ng: Specify an abi tag when downloading wheels for other platforms with pip download 2017-05-27 15:31:22 -07:00
Mitchell Stokes 26e7c3c52b deploy-ng: Add more enocdings modules to FreezeTool.startupModules 2017-05-27 15:30:19 -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