mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-06 09:20:57 +01:00
commit
13e7365bc2
2 changed files with 14 additions and 1 deletions
13
news/conda-forge.rst
Normal file
13
news/conda-forge.rst
Normal file
|
@ -0,0 +1,13 @@
|
|||
**Added:** None
|
||||
|
||||
**Changed:** None
|
||||
|
||||
**Deprecated:** None
|
||||
|
||||
**Removed:** None
|
||||
|
||||
**Fixed:**
|
||||
|
||||
* Fix failure to detect an Anaconda python distribution if the python was install from the conda-forge channel.
|
||||
|
||||
**Security:** None
|
|
@ -62,7 +62,7 @@ ON_BSD = LazyBool(lambda: ON_FREEBSD or ON_NETBSD,
|
|||
PYTHON_VERSION_INFO = sys.version_info[:3]
|
||||
""" Version of Python interpreter as three-value tuple. """
|
||||
ON_ANACONDA = LazyBool(
|
||||
lambda: any(s in sys.version for s in {'Anaconda', 'Continuum'}),
|
||||
lambda: any(s in sys.version for s in {'Anaconda', 'Continuum', 'conda-forge'}),
|
||||
globals(), 'ON_ANACONDA')
|
||||
""" ``True`` if executed in an Anaconda instance, else ``False``. """
|
||||
CAN_RESIZE_WINDOW = LazyBool(lambda: hasattr(signal, 'SIGWINCH'),
|
||||
|
|
Loading…
Add table
Reference in a new issue