Ray <rayjohnterr...@gmail.com> added the comment: The patch didn't install correctly using 'patch', but I manually merged the changes into my environment (Ubuntu 8.10 running 2.5.2) - I'll upload the diff rejections if they'll be helpful.
After installing, I attempted to use the new code to determine the version number, and am receiving 'None' as my result. After looking through the code, I believe its looking for a '.egg-info' file, but my custom package doesn't have one (it was installed using 'easy_install' - easy_install -z <package_name>), so it looks like that info is instead stored in EGG_INFO/PKG-INFO within the egg itself. Here's a dir dump of my installed egg: my_package-1.0-py2.5.egg/ |-- EGG-INFO | |-- PKG-INFO | |-- SOURCES.txt | |-- dependency_links.txt | |-- top_level.txt | `-- zip-safe |-- my_package.py `-- my_package.pyc _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4908> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com