rdb
49905bad16
Merge branch 'master' into deploy-ng
2017-01-10 22:06:59 +01:00
rdb
92dab31d80
makepanda: improve Python location code on Linux and macOS, support Python 3.x builds on macOS, drop use of pythonX-config
2017-01-10 21:00:43 +01:00
rdb
2de6c85fc9
glsl: fix shadowMatrix for point lights
2017-01-10 19:36:03 +01: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
Mitchell Stokes
25b167c080
makewheel: Use less restrictive extension module suffix on py3
2017-01-09 19:49:18 -08:00
rdb
e1a54f52a8
makepanda: add --no-egg/--use-egg flags to enable/disable egg features.
2017-01-09 23:58:41 +01:00
rdb
f8580d753a
Merge branch 'master' into deploy-ng
2017-01-09 23:53:56 +01:00
rdb
749e09d49e
ffmpeg: don't hide last frame of video
...
This is not quite a complete fix, since the last frame of the video won't be shown long enough for it to matter when looping the video. A more complete fix may be needed later.
2017-01-09 23:10:51 +01:00
rdb
43a5f2a9f2
Fixes for Python 3.5:
...
- Disable conversion to Windows newlines, which is causing double Windows newlines for Config.prc
- We need to copy vcruntime140.dll to the bin directory for Python 3.5+ build using MSVC 2010 to work
2017-01-09 22:27:30 +01:00
rdb
4ed199cece
Fix various compile warnings and a few code consistency issues
2017-01-09 20:36:53 +01:00
rdb
ba5bba42b0
Fix interrogate warnings, flesh out iterator header
2017-01-08 17:51:09 -05:00
rdb
72a1a9820b
Fix issues in ancient ffmpeg versions (Eg. Ubuntu Precise)
2017-01-08 17:50:48 -05:00
rdb
58c1581c0c
Fix .whl version when no explicit --version is specified
2017-01-08 17:20:17 -05:00
rdb
41d26284d7
Fix various compilation issues on Mac.
...
Work around bugs in Apple Clang that ships with XCode 4 with C++11 by disabling constexpr
Use move() instead of std::move()
It also looks like we'll have to continue using pystub for tools that use libp3interrogatedb for now.
2017-01-08 17:17:56 -05:00
Mitchell Stokes
a03448509e
deploy-ng: Use a clean sys.path for each platform
2017-01-07 10:21:31 -08:00
Mitchell Stokes
fff8c82d7c
deploy-ng: Correctly add deploy_libs to sys.path
...
Now modulefinder will pick up on the Python stdlib C extension modules
in the panda3d whl, and no special path hacks are required.
2017-01-07 10:19:07 -08:00
Mitchell Stokes
40c23e5cf1
makewheel: Use _ctypes instead of cmath for get_python_ext_module_dir()
...
Also switch back to using __file__ instead of inspect.
2017-01-06 08:07:20 -08:00
Mitchell Stokes
a5bea8f8b0
makewheel/deploy-ng: Use inspect.getfile(cmath) instead of cmath.__file__ for get_python_ext_module_dir()
2017-01-05 20:35:59 -08:00
Mitchell Stokes
061a2745f9
deploy-ng: Add use_console option to Application
...
This option only affects deploying to Windows. If set to False (the default),
deploy-stubw is used. If True, deploy-stub is used.
NOTE: This is mostly untested. The only check was that it didn't break
when deploying to Linux.
2017-01-05 20:24:58 -08:00
Mitchell Stokes
2fa4ef1c7e
makewheel/deploy-ng: Try import cmath instead of _sha1 for get_python_ext_module_dir()
...
The Python2 Windows buildbot did not like _sha1.
2017-01-05 20:17:38 -08:00
Mitchell Stokes
de598d966b
asteroid sample: Add requirements.txt and wheels to setup.py exclude_paths
2017-01-05 19:28:22 -08:00
Mitchell Stokes
6199d84131
deploy-ng: Grab Python stdlib C extension modules from panda3d whl
2017-01-05 19:28:22 -08:00
Mitchell Stokes
465d8bf1bd
makewheel: Copy Python stdlib C extension modules to deploy_libs
2017-01-05 19:28:21 -08:00
Mitchell Stokes
c746296e57
makepanda: Give WHLVERSION a better default than None
2017-01-05 19:28:21 -08:00
Mitchell Stokes
41556b07fc
deploy-ng: Use a more generic method to remove version strings from extension module names
...
This should help with stripping these strings on Windows.
2017-01-05 19:28:21 -08:00
Mitchell Stokes
fcbc71c91b
deploy-ng: Stop using freezer outside the scope of its for loop
2017-01-05 19:28:21 -08:00
Mitchell Stokes
d6aba43492
Merge branch 'master' into deploy-ng
2017-01-05 18:12:43 -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
816b2ac3ba
C++11 polyfills. This should fix Snow Leopard build.
2017-01-05 23:26:13 +01:00
rdb
53752bd376
Remove packpanda and eggcacher, don't require libpython on Linux
2017-01-05 17:22:11 +01:00
rdb
127cbc3b38
Windows installer improvements and fixes:
...
- copy .ico file
- write installer log to install.log
- restore python DLL to bin directory
2017-01-05 17:19:40 +01:00
Mitchell Stokes
e85a2aa140
deploy-ng: Remove some debug prints
2017-01-04 19:30:00 -08:00
Mitchell Stokes
c51afaf0cf
deploy-ng: Support getting whl files via pip
...
The samples/asteriods/wheels directory and requirements.txt work-around
can be removed when we can grab py3 whls from PyPI.
2017-01-04 19:02:27 -08:00
Mitchell Stokes
db2cbd6e3a
deploy-ng: Add whls to sys.path instead of extracting them
2017-01-04 17:53:41 -08:00
David Rose
c4d232b0be
publish PfmVizzer destructor to fix leak
2017-01-04 16:56:09 -08:00
David Rose
63eb1636a9
Merge branch 'master' of https://github.com/panda3d/panda3d
2017-01-04 16:28:42 -08:00
David Rose
603f0eb3b1
fix occasional crash in PNMImage::quick_filter_from()
2017-01-04 16:28:38 -08:00
rdb
9facf874ab
Let compiler synthesize QuadDef move assignment operator
...
This hopefully fixes a compile issue with older clang versions.
2017-01-04 23:53:55 +01:00
rdb
40e981e485
makepanda: enable C++11 support by default
2017-01-04 22:47:58 +01:00
rdb
40ea0ab786
cppparser: support directives __LINE__, __FILE__, __has_include
2017-01-04 22:46:57 +01:00
rdb
fa851ae5ac
Allow custom version to be passed on to makewheel when building with --wheel
2017-01-04 22:42:05 +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
6b92d349c9
deploy-ng: Add wheel files to sys.path so modulefinder can pick up the files
2017-01-03 20:17:12 -08: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
Mitchell Stokes
6251a1cfc7
deploy-ng: Make sure the runtime is created in the build directory
...
We used to build in the current directory and copy to the build
directory, which resulted in two copies of the runtime.
2016-12-30 11:56:32 -08:00
rdb
cf105f276c
More alignment fixes for 32-byte AVX
2016-12-28 20:23:27 +01:00
rdb
c839dc60d6
Merge remote-tracking branch 'origin/master' into deploy-ng
2016-12-28 12:11:37 +01:00
Sam Edwards
ea2305de70
general: Fix missing includes.
2016-12-26 18:11:03 -07:00
rdb
325302b623
makewheel: support building single-arch .whl from a fat Panda build
2016-12-26 17:36:38 +01:00