steeve / python-lz4

LZ4 bindings for python
http://github.com/steeve/python-lz4
105 stars 31 forks source link

Export VERSION and LZ4_VERSION. Close #19 #28

Closed ifduyue closed 10 years ago

ifduyue commented 10 years ago

Export VERSION and LZ4_VERSION, so that users can known which version of python-lz4 they are using.

>>> import lz4
>>> lz4.VERSION
'0.7.0'
>>> lz4.LZ4_VERSION
'r119'
steeve commented 10 years ago

That's great, thanks!

steeve commented 10 years ago

Can you add __version__ as well ?

ifduyue commented 10 years ago

@steeve OK. I'll send another PR in a moment.