alex / rply

An attempt to port David Beazley's PLY to RPython, and give it a cooler API.
BSD 3-Clause "New" or "Revised" License
381 stars 60 forks source link

Add __version__ attribute #58

Closed jwilk closed 8 years ago

jwilk commented 8 years ago

I'd like to make i18nspector's --version print versions of libraries it uses. But there's currently no obvious way to get rply's version, other than maybe querying pkg_resources (eww).

So here's a patch to add the __version__ attribute.