Skip to content
Snippets Groups Projects
Commit b61e778d authored by Piotr Ożarowski's avatar Piotr Ożarowski
Browse files

one more INSTALL_RE fix

parent ec409771
No related branches found
No related tags found
No related merge requests found
......@@ -35,8 +35,9 @@ EGGnPTH_RE = re.compile(r'(.*?)(-py\d\.\d(?:-[^.]*)?)?(\.egg-info|\.pth)$')
SHEBANG_RE = re.compile(r'^#!\s*/usr/bin/(?:env\s+)?(python(\d+\.\d+)?(?:-dbg)?).*')
INSTALL_RE = re.compile(r"""
(?P<pattern>.+?) # file pattern
\s+ # optional Python module name:
(?:\s+ # optional Python module name:
(?P<module>[A-Za-z][A-Za-z0-9_.]*)?
)?
\s* # optional version range:
(?P<vrange>%s)?$
""" % RANGE_PATTERN, re.VERBOSE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment