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

The keys to these new dictionaries are the name of the application to create and the value is the script that is the entry point for the application. This gets rid of the need for an Application class.
21 lines
497 B
Python
21 lines
497 B
Python
from direct.showutil.dist import *
|
|
|
|
setup(
|
|
name="asteroids",
|
|
options = {
|
|
'build_p3d': {
|
|
'directories': ['.'],
|
|
'exclude_paths': ['build', 'setup.py', 'requirements.txt', 'wheels'],
|
|
'gui_apps': {
|
|
'asteroids': 'main.py',
|
|
},
|
|
'deploy_platforms': [
|
|
'manylinux1_x86_64',
|
|
'macosx_10_6_x86_64',
|
|
'win32',
|
|
'win_amd64',
|
|
],
|
|
}
|
|
}
|
|
)
|