rdb
5b2f3bc9bf
deploy-ng: fix issue locating blobinfo symbol on Py3+Windows
2017-12-21 14:10:34 +01:00
rdb
a512c44366
deploy-ng: fix Windows codec error when console codepage is 0
2017-12-21 14:09:09 +01:00
rdb
58917e6746
deploy-ng: fix failure to include libpython (particularly on macOS)
2017-12-21 13:15:45 +01:00
rdb
f703fd51ed
deploy-ng: allow deploy-stub to set MAIN_DIR via blobinfo
2017-12-21 12:25:17 +01:00
rdb
c6401c45c1
deploy-ng: support macOS universal binaries
2017-12-21 12:20:19 +01:00
Mitchell Stokes
55aaa4da2b
deploy-ng: Add hidden import hook for datetime
2017-12-16 23:57:15 -08:00
Mitchell Stokes
6a630c4d62
deploy-ng: Add hidden import hook for xml.etree.cElementTree
2017-12-16 23:51:54 -08:00
Mitchell Stokes
ccca2f39cb
deploy-ng: Fix hidden import logic
...
A chunk of code was left out of the previous commit.
2017-12-16 23:50:51 -08:00
Mitchell Stokes
e504a49380
deploy-ng: Add initial support for creating .app bundles for macOS
...
The actual bundling is currently commented out in the bottom of
build_apps.build_runtimes(). Generating the .app was tested from a Linux
host and looks mostly correct upon a visual inspection of the contents.
However, no testing was done for actually running the .app on macOS,
which is why it is commented out. This was also not tested on Python 2.
There are also some TODO comments that need to be addressed.
2017-12-05 21:13:03 -08:00
Mitchell Stokes
e4730dca00
deploy-ng: Error if both gui_apps and console_apps is empty
2017-12-05 21:10:10 -08:00
Mitchell Stokes
6105f386c0
deploy-ng: Add a mechanism to FreezeTool for "hidden" imports
...
For now we have hooks for PyTest and pkg_resources.
2017-12-03 17:24:53 -08:00
Mitchell Stokes
cd102e6f09
deploy-ng: Add libbz2, libz, and liblzma to the manylinux1 ignore list
2017-12-03 17:24:53 -08:00
Mitchell Stokes
16255d528e
deploy-ng: Lock tests app to pytest 3.2.0
...
pytest 3.3.0 brings in a pluggy dependency that cannot be satisfied with
wheels.
2017-12-03 17:24:53 -08:00
Mitchell Stokes
d90e59ca2d
Merge branch 'master' into deploy-ng
2017-12-02 18:36:47 -08:00
Mitchell Stokes
0dd8f15595
deploy-ng: Remove unused build_apps.copy_paths
2017-12-02 12:22:18 -08:00
rdb
27f20c80fd
Don't include dlmalloc_src.cxx in interrogate
...
Fixes : #200
2017-11-27 18:49:28 +01:00
rdb
69b3468b2c
interrogate: more improvements to seq/map wrappers
...
Gets rid of properties defined as both MAKE_SEQ_PROPERTY/MAKE_MAP_PROPERTY, which are just a bad idea. Instead, adds a way for map properties to define a separate "keys" interface.
Fixes : #203
2017-11-27 17:29:50 +01:00
Mitchell Stokes
08e18ce802
deploy-ng: Rename build_scripts to file_handlers
2017-11-26 15:50:40 -08:00
Mitchell Stokes
8f6d75e017
deploy-ng: Pass build_apps commands to build_scripts
...
This allows build_scripts to access configuration.
2017-11-26 15:37:37 -08:00
Mitchell Stokes
305f39ba62
deploy-ng: Remove check for non-empty platforms list in build_apps::finalize_options()
...
This is actually a supported use-case (we fall back to the Panda3D
platform when no platforms are listed).
2017-11-26 15:34:19 -08:00
Mitchell Stokes
905b15df01
deploy-ng: Rename some options
...
* include_paths -> include_patterns
* exclude_paths -> exclude_patterns
* deploy_platforms -> platforms
2017-11-26 15:33:00 -08:00
rdb
567463eab3
makepanda: look for vorbis library without _static suffix
...
Fixes : #202
2017-11-26 23:42:46 +01:00
Mitchell Stokes
33fd302a8e
deploy-ng: Add files to build application out of the unit tests
...
This will be a good way to make sure everything in the tests work under
a frozen environment.
NOTE: The application builds and runs, but no tests are collected. We
still need to figure out how we want to handle tests. Freeze them all
and modify test collection? Add py/test files to the build directory and
try to run them?
2017-11-25 17:36:02 -08:00
rdb
3be22679a4
display: also avoid getting more than 24 color bits if 0 were requested
...
See issue #197
2017-11-26 00:06:03 +01:00
Mitchell Stokes
fcb1d9308b
Merge branch 'master' into deploy-ng
2017-11-25 14:58:25 -08:00
Mitchell Stokes
aba26bd862
Merge branch 'master' into deploy-ng
2017-11-25 14:55:47 -08:00
rdb
749b23a190
Fix support for pickling NodePaths (broken in 1b1d80c)
...
Fixes : #199
2017-11-25 23:12:47 +01:00
Mitchell Stokes
6fc26922de
deploy-ng: Use callbacks for build_scripts
2017-11-24 20:24:10 -08:00
rdb
dac08490ee
deploy-ng: implement getting executable path on Linux and macOS
2017-11-24 23:43:15 +01:00
rdb
409b241b40
Fix compile errors
2017-11-24 22:38:51 +01:00
rdb
d755de849c
deploy-ng: new extensible blob format with PRC configurability
2017-11-24 21:48:18 +01:00
rdb
a7e00d0ee6
makewheel: use platform from build
2017-11-24 17:48:25 +01:00
rdb
e03c249cc5
makepanda: write target platform to file, rebuild if platform changes
2017-11-24 17:47:51 +01:00
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
rdb
bec9ff8a40
loader: fix UB in try_load_file when loading file without known type
2017-11-23 01:15:44 +01: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
rdb
37572b312c
loader: try appending .bam to filename if loading doesn't find model
2017-11-22 19:27:14 +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