mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00

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?
34 lines
978 B
Python
34 lines
978 B
Python
from setuptools import setup
|
|
import pytest
|
|
|
|
setup(
|
|
name="panda3d-tester",
|
|
options = {
|
|
'build_apps': {
|
|
'gui_apps': {
|
|
'tester': 'main.py',
|
|
},
|
|
'plugins': [
|
|
'pandagl',
|
|
'p3openal_audio',
|
|
],
|
|
'include_modules': {
|
|
'*': [
|
|
'pkg_resources.*.*',
|
|
# TODO why does the above not get these modules too?
|
|
'pkg_resources._vendor.packaging.*',
|
|
'pkg_resources._vendor.packaging.version',
|
|
'pkg_resources._vendor.packaging.specifiers',
|
|
'pkg_resources._vendor.packaging.requirements',
|
|
] + pytest.freeze_includes(),
|
|
},
|
|
'deploy_platforms': [
|
|
'manylinux1_x86_64',
|
|
'macosx_10_6_x86_64',
|
|
'win32',
|
|
'win_amd64',
|
|
],
|
|
}
|
|
}
|
|
)
|