File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed
Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 33=======
44
55----------
6- 1.0.2 .dev0
6+ 1.0.3 .dev0
77----------
88
9+ * Bug fix: Accommodate OSX `Python ` python binaries. Previously the OSX python distributions shipped
10+ with OSX, XCode and available via https://www.python.org/downloads/ could fail to be detected using
11+ the `PythonInterpreter ` class.
12+ Fixes `#144 <https://github.com/pantsbuild/pex/issues/144 >`_.
13+
14+ -----
15+ 1.0.2
16+ -----
17+
918* Bug fix: PEX-INFO values were overridden by environment `Variables ` with default values that were
1019 not explicitly set in the environment.
1120 Fixes `#135 <https://github.com/pantsbuild/pex/issues/135 >`_.
Original file line number Diff line number Diff line change @@ -178,7 +178,10 @@ def __hash__(self):
178178class PythonInterpreter (object ):
179179 REGEXEN = (
180180 re .compile (r'jython$' ),
181- re .compile (r'python$' ),
181+
182+ # NB: OSX ships python binaries named Python so we allow for capital-P.
183+ re .compile (r'[Pp]ython$' ),
184+
182185 re .compile (r'python[23].[0-9]$' ),
183186 re .compile (r'pypy$' ),
184187 re .compile (r'pypy-1.[0-9]$' ),
Original file line number Diff line number Diff line change 11# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).
22# Licensed under the Apache License, Version 2.0 (see LICENSE).
33
4- __version__ = '1.0.2 '
4+ __version__ = '1.0.3.dev0 '
55
66SETUPTOOLS_REQUIREMENT = 'setuptools>=2.2,<16'
77WHEEL_REQUIREMENT = 'wheel>=0.24.0,<0.25.0'
You can’t perform that action at this time.
0 commit comments