rdb
eb6eb9f1dd
Merge branch 'release/1.10.x'
2021-03-24 13:58:00 +01:00
rdb
1fb8480585
Exclude GLVND from built distributions
2021-03-24 11:56:24 +01:00
rdb
94806801e3
Add p3headlessgl render plug-in on Linux using EGL as fallback for GLX
...
Fixes #1086
2021-03-23 15:04:20 +01:00
rdb
b817e19ab6
Merge branch 'release/1.10.x'
2021-03-13 16:50:12 +01:00
rdb
dc516c5ef1
dist: Remove aux-display lines for excluded plug-ins
...
No point trying to load optional modules that we know aren't included.
2021-03-13 14:03:54 +01:00
rdb
3c9673b48e
dist: Actually replace p3fmod_audio with p3openal_audio
...
This was meant to be effected in 9e80282aff but was not properly checked in (only the warning was shown, but the change was not actually made).
2021-03-13 13:55:35 +01:00
rdb
84051384b8
dist: Some work on getting PyQt5 dlls found on Windows
...
There is more work to do to get PyQt5 to work, however.
2021-03-12 00:36:42 +01:00
Timothy Paustian
2493c0689f
direct: Use warnings module for more verbose deprecation prints
...
Closes #1067
Fixes #669
2021-03-09 18:34:53 +01:00
rdb
fb9b334d58
Merge branch 'release/1.10.x'
2021-02-17 10:57:30 +01:00
rdb
17341b18ed
dist: Add PACKAGE_DATA_DIRS entry for pytz zoneinfo database
2021-02-16 12:35:44 +01:00
rdb
0ac97387fa
dist: enable log_filename_strftime by default if % in filename
...
See #1103
2021-02-06 12:46:30 +01:00
rdb
5a4ff7f6c0
Merge branch 'release/1.10.x'
2021-02-06 12:37:54 +01:00
rdb
f55cdd8907
dist: Support strftime-style date formatting in log_filename
...
Fixes #1103
2021-02-06 12:36:14 +01:00
rdb
613441060b
Merge branch 'release/1.10.x'
2021-01-18 23:47:36 +01:00
rdb
a270a55ccd
dist: Add ignoreImports mechanism, prevents every app including numpy
...
Apparently a host of thirdparty packages currently get included by default, such as importlib.metadata -> toml -> numpy, and this is getting rather out of hand. The ignoreImports mechanism provides a way for us to flag certain imports as being optional dependencies.
Also added is various "builtins" imports in Python 2.7 (which are all under version checks and would otherwise lead to the PyPI "builtins" package being included, which would pull in "future", etc.)
2021-01-18 23:33:39 +01:00
rdb
68daa238b1
dist: Add some determinism support to bdist_apps
...
It's necessary to set PYTHONHASHSEED=0 as well as SOURCE_DATE_EPOCH for deterministic compilation, and moreover, the generated zip files do still have timestamps in them.
2021-01-18 19:02:42 +01:00
rdb
be9dde1eee
direct: add .pylintrc, perform major code cleanup pass
...
Closes #989
Co-authored-by: Daniel Stokes <kupomail@gmail.com>
2020-12-31 01:36:23 +01:00
rdb
cf60284ca9
Merge branch 'release/1.10.x'
2020-12-31 00:05:10 +01:00
rdb
b6e8163f97
dist: Add remaining manylinux libraries to exclude_dependencies
...
Prevents getting errors about these being missing.
2020-12-30 23:57:27 +01:00
rdb
e0309a98aa
dist: Remove liblzma, libreadline and libbz2 from exclude_dependencies
...
These are not part of the manylinux specs, and actually needed by the Python _lzma, readline, etc. modules.
This fixes the problem that these dependencies are not being picked up automatically.
2020-12-30 23:57:27 +01:00
rdb
42580a81de
dist: Add hidden imports for pandas
2020-12-30 23:57:27 +01:00
rdb
b6809defec
dist: Remove unused import
2020-12-30 23:57:27 +01:00
Mitchell Stokes
33d688ec08
bdist_apps: Allow specifying custom installers with entry points
...
The entry point is 'panda3d.bdist_apps.installers'. The installer will
get added to bdist_apps.installer_functions.
Closes #1060
2020-12-29 16:08:32 +01:00
Mitchell Stokes
d015b7e2f1
bdist_apps: Support user-defined installers
...
Custom installers can be added by specifying a build function in
bdist_apps options:
'installer_functions': {
'custom': custom_func
}
Installer functions must accept three arguments:
* command - the bdist_apps setuptools command function (can be used to
gather build information)
* basename - name of the output file (minus extension)
* build_dir - path to the directory containing the built application
2020-12-29 16:08:18 +01:00
rdb
6c3e13d19d
dist: Remove version checks for Python versions before 3.5
2020-12-29 14:50:41 +01:00
rdb
2156e6deb2
Merge branch 'release/1.10.x'
2020-12-26 14:00:29 +01:00
rdb
84a6e900af
dist: Fix error using build_apps in Python 2.7
2020-12-25 00:24:01 +01:00
rdb
030bdd1d34
dist: Work around stdlib bug causing erroneous missing module warnings
2020-12-24 20:52:10 +01:00
rdb
4b7c11059d
dist: Ignore some missing modules
2020-12-24 20:46:33 +01:00
rdb
d2a7481181
dist: handle SyntaxError in imported module
2020-12-24 20:46:13 +01:00
rdb
4e6395e07a
dist: Fix line of code that mysteriously disappeared
2020-12-24 19:17:44 +01:00
rdb
a3010a43a5
Merge branch 'release/1.10.x'
2020-12-24 15:31:52 +01:00
rdb
86937c7bb9
dist: Check if entire directory should be skipped
...
This is functionally equivalent, but reduces the message spam in verbose mode, and perhaps is a little faster
2020-12-24 14:19:17 +01:00
rdb
adbeea33fb
dist: Warn if picking up binary dependency from outside a wheel
2020-12-24 14:16:40 +01:00
rdb
8bb0de52b7
dist: Add additional ignored system libraries for Windows
2020-12-24 14:15:58 +01:00
rdb
012661e1ba
dist: Add more ignore libraries for macOS
...
This is the full list of libraries that occur both in the 10.6 SDK and the 11.1 SDK.
2020-12-24 13:23:58 +01:00
rdb
a5ae292c3e
Merge branch 'release/1.10.x'
2020-12-18 12:56:31 +01:00
rdb
4d50e73132
pfreeze: Support building for macOS arm64 architecture
2020-12-15 18:59:04 +01:00
Mitchell Stokes
bd7b6d8fe7
build_apps: Allow setting hidden imports via setuptools options
...
This is exposed as a hidden_imports option, which is a dictionary. The
keys are module name and the values are a list of modules to include
when an import for the key is found.
2020-11-25 01:08:36 +01:00
LD
f4d372fdcd
dist: Add platform name to NSIS installer filename and generate it into the dist directory
...
Closes #1038
2020-11-17 23:56:30 +01:00
rdb
d62146a317
Merge branch 'release/1.10.x'
2020-11-17 23:56:00 +01:00
rdb
f88441c584
dist: Fix error building Windows executable in Python 3.9
2020-11-17 12:01:05 +01:00
rdb
54b93116e8
Merge branch 'release/1.10.x'
2020-09-16 10:59:59 +02:00
rdb
36eed0d9c9
dist: don't exclude api-ms-win-crt-*.dll libraries
...
These are needed to run the program on systems without the right CRT installed.
2020-09-14 12:30:43 +02:00
rdb
8e39072f6f
dist: don't search same directory for dependencies more than once
2020-09-14 11:58:57 +02:00
rdb
921cbc6bae
Merge commit 'e0d34131822a8852ff72dc9c5597f4dc6900719a'
2020-09-13 16:17:06 +02:00
rdb
22e5f95c7f
dist: don't warn about missing DLLs that are a part of Windows
2020-09-13 15:26:56 +02:00
LD
2e862c1bbe
dist: fix the relative path of the files and output dirs in the generated NSIS script
...
Closes #1008
Fixes #1003
2020-09-13 15:17:02 +02:00
rdb
66ac3be604
Merge branch 'release/1.10.x' into master
2020-09-12 23:23:58 +02:00
Mitchell Stokes
306c0fce0f
build_apps: Disable the pip version check when downloading wheels
...
If the user is not using the latest version of pip, they will likely be
spammed by pip enough as is. There is not much need to remind them about
this for each built platform.
2020-09-12 12:01:05 -07:00