From: Bruce S. <Bru...@nc...> - 2010-03-29 23:04:24
|
I hope someone with Mac experience can help me. I've prepared an installer for a significant update VPython 5.3 but am unable to make an installer for the Mac. Thanks to Kadir Haldenbilen, VPython 5.3 provides extrudable 3D text of any True Type font, which is very cool. This requires some extra modules beyond numpy, and these should be included in the installer for ease of use. Each of these modules has a folder of .py files plus an egg-info file that needs to be at the same level as the folder. In PackageMaker I list the egg-info files as usual, but alas PackageMaker creates an installer which when run places these egg-info files inside folders with the same name as the egg-info file, minus the ".egg-info" extension. This doesn't cause problems with numpy, but with one of the other modules it causes Python to fail to find modules inside the module folder. I of course Googled a bit without finding any information on this. It's frustrating that in PackageMaker I give a destination like .....site-packages/xxx.egg-info but it goes into .....site-packages/xxx/xxx.egg-info. Experimentally, if I move the egg-info file up one level, VPython 5.3 works fine. I cannot find any switches in PackageMaker to prevent this bizarre behavior. I also tried chmod-ing the egg-info files to match the permissions on the numpy egg-info file, but that didn't help. AAARRRGGGHHH!!! HELLLLLLLP! Bruce Sherwood |