Open CoderBrandon opened 12 years ago
The python way is to put them in a module, adding the path of this module to the python path system wide variable, and importing this module in both client and server.
However, I don't know how panda3d packaging tools will handle this when creating the p3d file.
We can also try to solve this using a symbolic link. Here also I don't know how panda3d will behave during the packaging.
I noticed there was some duplicated code in both client and server and it would probably help to centralize those where possible to avoid having to maintain two sets of code. What's the best way to do this in python?