Setuptools and С++

I have two questions.

  1. Is it possible to create a distribution kit for an exe file compiled in C ++ or is it just for python. There is no information in the manual.

  2. However, I decided to try with an exe file. But got an unexpected error.

Traceback (most recent call last):
File “”, line 24, in
File “C:\Panda3D-\python\lib\site-packages\”, line 145,
return distutils.core.setup(**attrs)
File “C:\Panda3D-\python\lib\distutils\”, line 148, in setup
File “C:\Panda3D-\python\lib\distutils\”, line 966, in run_commands
File “C:\Panda3D-\python\lib\distutils\”, line 985, in run_command
File “C:\Panda3D-\direct\dist\”, line 380, in run
self.build_runtimes(platform, True)
File “C:\Panda3D-\direct\dist\”, line 709, in build_runtimes
create_runtime(appname, scriptname, False)
File “C:\Panda3D-\direct\dist\”, line 642, in create_runtime
File “C:\Panda3D-\direct\dist\”, line 1113, in done
File “C:\Panda3D-\direct\dist\”, line 1223, in __loadModule, fp, pathname, stuff)
File “C:\Panda3D-\direct\dist\”, line 2302, in load_module
co = compile(code, pathname, ‘exec’)
ValueError: source code string cannot contain null bytes

In addition, I found that the shortcut for “Run” in the “asteroids” folder
misconfigured. Missing “build_apps” command

It looks like the old version of the manual indicated that this is a build of Python projects.
Thus, I have to manually copy the resource files for C ++

Yes, I can confirm that setuptools is only for Python. The main aim of our deployment system is to allow compiling your game into an exe for any platform. For C++ users, the process of creating executables is already familiar to them, and also, cross-compiling for all other platforms is not an easy feat to achieve.