diff --git a/doc/changelog.txt b/doc/changelog.txt index 5dbfdb7..c479312 100644 --- a/doc/changelog.txt +++ b/doc/changelog.txt @@ -1,4 +1,10 @@ -1.2 "" (released 27.6.2013) +1.3 (released xx.xx.2013) + +* Add patoolib.__version__ (see PEP 396). + Closes: GH bug #3 + + +1.2 (released 27.6.2013) * Fix detection of *.gz with newer libmagic versions. Closes: GH bug #2 diff --git a/patoolib/__init__.py b/patoolib/__init__.py index 5122b15..e97aa4c 100644 --- a/patoolib/__init__.py +++ b/patoolib/__init__.py @@ -22,6 +22,8 @@ import shutil import stat import importlib from . import util +# PEP 396 +from .configuration import Version as __version__ __all__ = ['list_formats', 'list_archive', 'extract_archive', 'test_archive', 'create_archive', 'diff_archives', 'search_archive', 'repack_archive']