diff --git a/README.rst b/README.rst index 7a0d7ec..45177c0 100644 --- a/README.rst +++ b/README.rst @@ -1,13 +1,12 @@ .. image:: https://travis-ci.org/cournape/zipfile2.png?branch=master :target: https://travis-ci.org/cournape/zipfile2 -zipfile2 contains an improved ZipFile class that may be used as a 100 % +zipfile2 contains an improved ZipFile class that may be used as a backward compatible replacement. Improvements compared to upstream zipfile stdlib: * Handling of symlinks (read and write) -* Compatible 2.6 onwards (including 3.x), include context manager * Raises an exception by default when duplicate members are detected. * Special class `LeanZipFile` to avoid using too much memory when handling zip files with a large number of members. Contrary to the stdlib diff --git a/setup.cfg b/setup.cfg index e67094f..e8da60d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -4,7 +4,7 @@ version = file: VERSION url = https://github.com/itziakos/zipfile2 author = Ioannis Tziakos author_email = itziakos@gmail.com -description = An improved ZipFile class that may be used as a 100 % backward compatible replacement. +description = An improved ZipFile class that may be used as a backward compatible replacement. long_description = file: README.rst, CHANGELOG.txt license = BSD-3-Clause license_files = file: LICENSE diff --git a/setup.py b/setup.py index 8bb5fc8..c2d4f77 100644 --- a/setup.py +++ b/setup.py @@ -3,8 +3,7 @@ HERE = Path(__file__).parent version = (HERE / 'VERSION').read_text().strip() -filename = ( - HERE / 'zipfile2' / '_version.py').write_text( - f'__version__ = "{version}"\n') +filename = (HERE / 'zipfile2' / '_version.py') +filename.write_text(f"__version__ = '{version}'\n") setup()