Skip to content

v0.0.2

Compare
Choose a tag to compare
@MrMino MrMino released this 24 Jan 18:31
· 205 commits to master since this release

0.0.2 - 2021-01-24

Added

  • Read mode ('r') now works.
  • Added write_data and writestr_data methods to WheelFile class. Use
    these methods to write files to .data/ directory of the wheel.
  • Added build_tag and language_tag, abi_tag, and platform_tag
    parameters to WheelFile.__init__, with their respective properties.
  • Tag attributes mentioned above can also be inferred from the filename of the
    specified file.
  • Accessing the mode with which the wheelfile was opened is now possible using
    mode attribute.

Changed

  • Default tag set of WheelData class is now ['py3-none-any']. Previously,
    universal tag ("py2.py3-none-any") was used.
  • Fixed issues with comparing MetaData objects that have empty descriptions.
    After parsing a metadata text with empty payload, the returned object has an
    empty string inside description, instead of None, which is used by
    MetaData.__init__ to denote that no description was provided. This means
    that these two values are the effectively the same thing in this context.
    MetaData.__eq__ now refelcts that.