Skip to content

Commit

Permalink
Merge pull request #556 from gsnedders/packaging_167
Browse files Browse the repository at this point in the history
Update packaging to 16.7
  • Loading branch information
jaraco committed Apr 25, 2016
2 parents 5cc432e + fc2afb5 commit 4bf7cb1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg_resources/_vendor/packaging/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
__summary__ = "Core utilities for Python packages"
__uri__ = "https://github.com/pypa/packaging"

__version__ = "16.6"
__version__ = "16.7"

__author__ = "Donald Stufft and individual contributors"
__email__ = "donald@stufft.io"
Expand Down
11 changes: 10 additions & 1 deletion pkg_resources/_vendor/packaging/markers.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,18 @@ class Value(Node):
L("platform.version") | # PEP-345
L("platform.machine") | # PEP-345
L("platform.python_implementation") | # PEP-345
L("python_implementation") | # undocumented setuptools legacy
L("extra")
)
VARIABLE.setParseAction(lambda s, l, t: Variable(t[0].replace('.', '_')))
ALIASES = {
'os.name': 'os_name',
'sys.platform': 'sys_platform',
'platform.version': 'platform_version',
'platform.machine': 'platform_machine',
'platform.python_implementation': 'platform_python_implementation',
'python_implementation': 'platform_python_implementation'
}
VARIABLE.setParseAction(lambda s, l, t: Variable(ALIASES.get(t[0], t[0])))

VERSION_CMP = (
L("===") |
Expand Down
2 changes: 1 addition & 1 deletion pkg_resources/_vendor/vendored.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
packaging==16.6
packaging==16.7
pyparsing==2.0.6
six==1.10.0

0 comments on commit 4bf7cb1

Please sign in to comment.