Comment 6 for bug 531662

Revision history for this message
Tres Seaver (tseaver) wrote : Re: [Bug 531662] Re: There is no version attribute anywhere in zope.interface

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stephan Richter wrote:
> On Tuesday 13 April 2010, Tres Seaver wrote:
>> The 'pkg_resources' solution is uniform across all installed packages
>> (even stdlib modules in 2.7). I would vote for sticking with it as the
>> blessed solution to this need.
>
> Could we expose the version number in an attribute:
> zope.interface.__version__? This way it is easy to find while we still utilized
> the most common version reference.

We don't want to have to import the package while building the
distribution, nor while installing it.

Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 <email address hidden>
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkvE5hkACgkQ+gerLs4ltQ5w0QCglnxV2nu8IYU7FFkyKBMnsv2+
hCUAoJCqnXpn7NtBY96mCFbq4cBHGXtp
=9r8l
-----END PGP SIGNATURE-----