Skip to content

Commit

Permalink
Update standards references
Browse files Browse the repository at this point in the history
  • Loading branch information
jwodder committed Nov 5, 2023
1 parent eeecedc commit a02229f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 16 deletions.
15 changes: 6 additions & 9 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,13 @@
| `Issues <https://github.com/wheelodex/wheel-filename/issues>`_
| `Changelog <https://github.com/wheelodex/wheel-filename/blob/master/CHANGELOG.md>`_
``wheel-filename`` lets you verify `wheel
<https://www.python.org/dev/peps/pep-0427/>`_ filenames and parse them into
their component fields.
``wheel-filename`` lets you verify wheel_ filenames and parse them into their
component fields.

This package adheres strictly to the relevant PEPs, with the following
exceptions:
.. _wheel: https://packaging.python.org/en/latest/specifications
/binary-distribution-format/

- Unlike other filename components, version components may contain the
characters ``!`` and ``+`` for full PEP 440 support.
This package adheres strictly to the standard, with the following exceptions:

- Version components may be any sequence of the relevant set of characters;
they are not verified for PEP 440 compliance.
Expand All @@ -41,8 +39,7 @@ exceptions:
Installation
============
``wheel-filename`` requires Python 3.7 or higher. Just use `pip
<https://pip.pypa.io>`_ for Python 3 (You have pip, right?) to install
``wheel-filename``::
<https://pip.pypa.io>`_ for Python 3 (You have pip, right?) to install it::

python3 -m pip install wheel-filename

Expand Down
12 changes: 5 additions & 7 deletions src/wheel_filename/__init__.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
"""
Parse wheel filenames
``wheel-filename`` lets you verify `wheel
<https://www.python.org/dev/peps/pep-0427/>`_ filenames and parse them into
their component fields.
``wheel-filename`` lets you verify wheel_ filenames and parse them into their
component fields.
This package adheres strictly to the relevant PEPs, with the following
exceptions:
.. _wheel: https://packaging.python.org/en/latest/specifications
/binary-distribution-format/
- Unlike other filename components, version components may contain the
characters ``!`` and ``+`` for full PEP 440 support.
This package adheres strictly to the standard, with the following exceptions:
- Version components may be any sequence of the relevant set of characters;
they are not verified for PEP 440 compliance.
Expand Down

0 comments on commit a02229f

Please sign in to comment.