Commit Graph

7375 Commits

Author SHA1 Message Date
rdb a799bcaec9 Merge branch 'master' into deploy-ng 2018-11-03 22:51:32 +01:00
Mitchell Stokes d9256755e3 deploy-ng: Allow setting build_apps command line options via bdist_apps command line options 2018-11-03 12:32:29 -07:00
Mitchell Stokes a42ebaea74 deploy-ng: Allow platforms to be specified on the command line
This makes it easier to build for one platform even if multiple
platforms are specified in setup.py/cfg. For example:

python setup.py build_apps -p win_amd64

Or, for multiple platforms:

python setup.py build_apps -p win32,win_amd64
2018-11-03 12:13:51 -07:00
rdb 5ac3cf3fc6 Eliminate C++ DConfig; replace it with a Python compatibility shim 2018-11-02 23:27:07 +01:00
rdb 14411f592e Remove obsolete .init files in configfiles directories
These look like they were part of some now-defunct Disney tool.
2018-11-01 16:26:07 +01:00
rdb 55371e0aad deploy-ng: fix some issues finding relative library deps in wheels
In particular, this fixes deploying with numpy for macOS, since the numpy whl has library dependencies with .. in the path.
2018-10-28 21:20:46 +01:00
rdb 305621338f deploy-ng: fix wrong platform tag for 32-bit Linux in bdist_apps 2018-10-28 20:47:44 +01:00
Mitchell Stokes b16f9f8f4f Merge branch 'master' into deploy-ng 2018-10-18 17:58:21 -07:00
rdb f8b47dc14c direct: fix slowness in big games with Func(messenger.send) 2018-10-18 22:19:55 +02:00
Mitchell Stokes 18c1e242f8 deploy-ng: Include all encodings by default
For Python 3.7 on 64bit Linux, this adds about 300-400KB to built
applications.
2018-10-17 22:21:41 -07:00
Mitchell Stokes 6f311007f5 deploy-ng: Do not error if the panda3d wheel has no localtag 2018-10-17 22:08:00 -07:00
rdb ed489ac03a deploy-ng: fix egg2bam error handling on Python 2.7 2018-10-16 23:03:44 +02:00
Mitchell Stokes 665bdb16ea deploy-ng: Add options for using optimized wheels for panda3d
This works by adding extra index urls. Optimized wheels have local
version tags that should take precedence over non-optimized wheels. If
no optimized wheel if found for a platform, a warning is issued and a
non-optimized wheel is used instead.
2018-10-08 18:36:23 -07:00
Mitchell Stokes 90b0f501dc deply-ng: Add libedit.*.dylib to list of macOS system libraries 2018-10-07 12:31:17 -07:00
Mitchell Stokes 33e6b6bf7a deploy-ng: Setup system dependencies to ignore on Linux and macOS 2018-10-04 22:07:34 -07:00
Mitchell Stokes 3dbdb55782 deploy-ng: Initial NSIS installer support
This creates a Windows installer. Still TODO:

  * Dealing with creating shortcuts
  * Add license information to installers
  * Possibly tweak various names (e.g., display names, version numbers,
  etc.)
  * Application does not show up in Windows 7 list of programs in the
  control panel (still has an uninstaller in the start menu)
  * Add all built binaries to Start Menu
2018-09-24 19:51:38 -07:00
rdb 338b428e65 Merge branch 'master' into deploy-ng 2018-09-17 17:37:07 +02:00
rdb 822f89fadb dgui: accept arg in setText, setImage, setGeom, also add clearers
This enables the "setters" to behave in a way that people expect setters to behave.  Since `setText(None)` now does not behave expectedly, a `clearText()` has also been added to remove the text.

Closes #385
2018-09-13 21:14:04 +02:00
Mitchell Stokes a2cb552375 deploy-ng: Only pass optimize=2 to compile() if the Python version is >=3.2
Fixes #388
2018-09-10 20:04:08 -07:00
jspam a333353af6 Make Loader.loadSound() accept a MovieAudio instance as soundPath
This functionality seems to have inadvertently been removed by
refactoring commit 23bf9ea5.

Closes #383
2018-09-09 20:22:51 +02:00
Mitchell Stokes 54655240b6 deploy-ng: Allow users to define custom package_data_dir items
These are data (i.e., non-code) items copied for modules.
2018-09-07 20:13:07 -07:00
Mitchell Stokes 9dd29d7ac0 deploy-ng: Improve error reporting for egg2bam 2018-09-07 19:59:14 -07:00
Mitchell Stokes 1983382b3b deploy-ng: Improve file_handler API
User-defined file handlers are added to a dictionary of default handlers
(just has egg2bam for *.egg files for now). Any user-provided file
handlers for a given file type will overwrite default file handlers.

This allows users to define file handlers without having to re-add
egg2bam to the list.
2018-09-07 19:57:14 -07:00
Sam Edwards 4695557a5d general: Don't require BUILDING_* for static builds 2018-08-31 23:54:32 -06:00
rdb 27dbad6fd9 leveleditor: add missing import 2018-08-26 14:04:19 +02:00
rdb 57b66ebeaf Merge branch 'master' into deploy-ng 2018-08-20 19:13:04 +02:00
Mitchell Stokes 2486b12a14 deploy-ng: Support generating a requirements.txt file via pipenv 2018-08-19 14:31:31 -07:00
rdb 35fff81b6a makepanda: fix missing BUILDING_DIRECT_DCPARSER
[skip ci]
2018-08-19 21:06:47 +02:00
rdb b1d2111037 express: add Datagram add_blob and add_blob32, et al.
This is for writing Python 2/3 agnostic code for writing binary data to a datagram, and reading from it using DatagramIterator.
2018-08-19 16:01:39 +02:00
Mitchell Stokes 53dea28f53 deploy-ng: Remove docstrings from frozen modules 2018-08-18 21:31:12 -07:00
Sam Edwards 97d6d84ade dcparser: Add BUILDING_DIRECT_DCPARSER switch
Resolves GH #342.
2018-08-15 20:38:00 -06:00
Mitchell Stokes 49c47164ff Merge remote-tracking branch 'origin/master' into deploy-ng 2018-08-12 19:58:15 -07:00
rdb ee318a73f3 interval: prevent hypothetical stack overflow 2018-08-08 20:16:11 +02:00
bfrisby2000 7c375ac531
showbase: Add blendType argument for Fade/Iris/Letterbox
This allows the 'blendType' argument to be passed through the three transitions' Lerp Intervals.
2018-08-07 20:23:16 -04:00
rdb 0fbfeb712f ParticlePanel: comment out unimplemented OrientedParticleFactory 2018-08-02 20:31:12 +02:00
rdb f813d2fb60 stdpy: fix broken threading.Event 2018-08-02 20:29:48 +02:00
rdb 57578ee58f direct: add MetaInterval underscore aliases (fixes override bug)
These methods are supposed to override the underlying C methods, which do have underscore aliases, so it is important that the Python class defines these underscore aliases as well.
2018-07-17 22:20:35 +02:00
Mitchell Stokes e4cf73378c Merge remote-tracking branch 'origin/master' into deploy-ng 2018-07-15 14:38:05 -07:00
Mitchell Stokes 0fd1250142 deploy-ng: Fix execute permission bits for tarball installers created on Windows 2018-07-15 12:07:22 -07:00
Mitchell Stokes f3e87a0d01 deploy-ng: Create zip installers without first creating a temporary directory 2018-07-15 12:07:22 -07:00
Mitchell Stokes 7a0004172a deploy-ng: Fix cefpython3 on Windows 2018-06-26 20:26:30 -07:00
Mitchell Stokes a17751adcf deploy-ng: Avoid interactive prompt on packages fetched via a VCS 2018-06-26 19:12:16 -07:00
Mitchell Stokes ca812b890c deploy-ng: Add initial support for cefpython3 2018-06-25 21:14:00 -07:00
Mitchell Stokes dd9a7f31ec deploy-ng: Ensure sys.frozen is defined in frozen applications 2018-06-25 19:50:01 -07:00
Mitchell Stokes 8c5c2c3c7d deploy-ng: Add package data hooks for jsonschema 2018-06-25 18:20:41 -07:00
Mitchell Stokes ffe776b8f9 deploy-ng: Support pktutil.get_data() on Python 3
Python 2 should already work.
2018-06-25 18:20:41 -07:00
Mitchell Stokes 0253a7a29f deploy-ng: Remove dist.setup()
This was a hack used by installation methods that did not support
registering new commands correctly. The commands should now work
regardless of installation method (wheel, deb, NSIS installer, etc.).
2018-06-25 18:20:41 -07:00
Mitchell Stokes d9885e4f1b deploy-ng:Fix parsing bdist_apps.installers from setup.cfg 2018-06-25 18:20:41 -07:00
rdb 886e1c2f16 general: fix many compilation warnings in GCC 8 2018-06-19 00:37:28 +02:00
Sam Edwards b2bfb31114 general: Remove `using std::*` from headers
Also remove most `using namespace std;` statements. The only one that remains is in py_panda.h.

Closes #350
Closes #335
2018-06-14 16:04:49 +02:00