# Prior to numpy 1.9, NumPy relies on the '_install' name, so provide it for
# now. See https://github.com/pypa/setuptools/issues/199/
=
"""Use easy_install to install the package, w/dependencies"""
= +
= +
=
=
= None
= None
= True
:
# explicit backward-compatibility mode, allow extra_path to work
return
# Ignore extra_path when installing an egg (or being run by another
# command without --root or --single-version-externally-managed
= None
=
# Explicit request for old-style install? Just do it
return
# Run in backward-compatibility mode to support bdist_* commands.
"""
Attempt to detect whether run() was called from setup() or by another
command. If called by setup(), the parent caller will be the
'run_command' method in 'distutils.dist', and *its* caller will be
the 'run_commands' method. If called any other way, the
immediate caller *might* be 'run_command', but it won't have been
called by 'run_commands'. Return True in that case or if a call stack
is unavailable. Return False otherwise.
"""
=
=
return True
=
, =
=
=
# Starting from v61.0.0 setuptools overwrites dist.run_command
continue
return
=
=
# finalize before bdist_egg munges install cmd
= # make sure local-dir eggs get installed
# pick up setup-dir .egg files only: no .egg-info
=
# Bootstrap self-installation of setuptools
=
= None
# XXX Python 3.1 doesn't see _nc if this is inside the class
=