summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2020-03-24 04:52:13 -0700
committerGitHub <noreply@github.com>2020-03-24 13:52:13 +0200
commit251a0939a0e09352ae930f480cadbabfc103d240 (patch)
tree9c646f62bae01bb2e5341bc9bf182fe94d21dde6 /src
parentb74eeb72ea09f70076ba72779a7a331f8e009708 (diff)
downloadwheel-git-251a0939a0e09352ae930f480cadbabfc103d240.tar.gz
Remove unused EXTRA_RE variable (#340)
Unused since 595e4a8fc6bed54091ead713933c8ec8ebd1bb51.
Diffstat (limited to 'src')
-rw-r--r--src/wheel/metadata.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/wheel/metadata.py b/src/wheel/metadata.py
index bbf57a7..37efa74 100644
--- a/src/wheel/metadata.py
+++ b/src/wheel/metadata.py
@@ -3,17 +3,12 @@ Tools for converting old- to new-style metadata.
"""
import os.path
-import re
import textwrap
import pkg_resources
from .pkginfo import read_pkg_info
-# Support markers syntax with the extra at the end only
-EXTRA_RE = re.compile(
- r"""^(?P<package>.*?)(;\s*(?P<condition>.*?)(extra == '(?P<extra>.*?)')?)$""")
-
def requires_to_requires_dist(requirement):
"""Return the version specifier for a requirement in PEP 345/566 fashion."""