makewheel: add pandac/input/*.in interrogatedb files

These are present in the normal SDK builds and are useful for analyzing the API, for example for generating FFI code or generating API documentation.
This commit is contained in:
rdb
2019-10-29 20:44:52 +01:00
parent f149fb4ab0
commit e1df400f87
+7
View File
@@ -665,6 +665,13 @@ __version__ = '{0}'
if file.endswith('.py'):
whl.write_file('pandac/' + file, os.path.join(pandac_dir, file))
# Let's also add the interrogate databases.
input_dir = os.path.join(pandac_dir, 'input')
if os.path.isdir(input_dir):
for file in os.listdir(input_dir):
if file.endswith('.in'):
whl.write_file('pandac/input/' + file, os.path.join(input_dir, file))
# Add a panda3d-tools directory containing the executables.
entry_points = '[console_scripts]\n'
entry_points += 'eggcacher = direct.directscripts.eggcacher:main\n'