Since I started my project I have just been struggling with building and packaging.
I used to be able to pip install and then that worked but then when I pip install on a friends computer it broke, and now as of recently ‘Ubuntu’ no longer wants to pip to install at all because it may conflict with apt packages so the only way to pip install is within a venv.
I then discovered that Panda3D actually has a way to neatly package and build our stuff for each platform: Building Binaries
and at one point I did get this to work on a test package I made quickly, note how we can build for each platform: ‘platforms’: [‘manylinux1_x86_64’, ‘macosx_10_6_x86_64’, ‘win_amd64’],
But when I tried moving that example into my project I borked something, I borked it real good and I can no longer build anything I spend my evenings sobbing in the corner.
This got me fired up, I decided to just try and build for Android just for the fun of having a game on my phone. So I grab my favorite template building platform ‘cookie-cutter’ and just build a quick template and notice my familiar ‘setup.py’ file is no longer there???
Now when I tried to build anything, it doesn’t seem to work with our existing project building platform. I would LOVE to contribute to the documentation and demonstrate maybe how I got it working but I never did. Panda3d Distribution Documentation
If anybody has any pointers, I’d love to hear from you
Panda doesn’t (yet) read from pyproject.toml, so you’ll need to have setuptool pass the options along. In other words, instead of tool.panda3d, you’d need to set setuptools options. That said, I ran into issues getting this to work right, so I ended up added support to pman. An example of a project using this can be found here.