Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
itziakos committed Aug 17, 2024
1 parent be2eeea commit faa8319
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions README.rst
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit faa8319

Please sign in to comment.