mirror of
https://github.com/facebook/sapling.git
synced 2024-12-29 08:02:24 +03:00
setup: remove HGPYENTRYPOINT environment variables
Summary: Those HGPYENTRYPOINT environment variables are no longer used after D15894694. Reviewed By: sfilipco Differential Revision: D18097869 fbshipit-source-id: faa4c28a6a4f2726dd20f3a4b2d6b6a9b072bb5d
This commit is contained in:
parent
1de22af52e
commit
efd1525e03
5
setup.py
5
setup.py
@ -1944,11 +1944,6 @@ if sys.platform == "darwin" and os.path.exists("/usr/bin/xcodebuild"):
|
||||
if cflags and re.search(r"-mno-fused-madd\b", cflags) is not None:
|
||||
os.environ["CFLAGS"] = os.environ.get("CFLAGS", "") + " -Qunused-arguments"
|
||||
|
||||
if sys.platform == "darwin" and havefb:
|
||||
# In Facebook, we want hg.rust to use out custom Python installation
|
||||
os.environ[
|
||||
"HGPYENTRYPOINTSEARCHPATH"
|
||||
] = "/opt/facebook/hg/lib/python2.7/site-packages"
|
||||
|
||||
import distutils.command.build_clib
|
||||
from distutils.dep_util import newer_group
|
||||
|
@ -3675,14 +3675,6 @@ class TestRunner(object):
|
||||
if getattr(os, "symlink", None):
|
||||
tmphgpath = os.path.join(self._tmpbindir, "hg")
|
||||
vlog("# Symlink %s to %s" % (self._hgcommand, tmphgpath))
|
||||
entrypointpath = os.path.join(
|
||||
os.path.dirname(os.path.realpath(self._hgcommand)),
|
||||
"mercurial",
|
||||
"entrypoint.py",
|
||||
)
|
||||
if os.path.exists(entrypointpath):
|
||||
vlog("# HGPYENTRYPOINT=%s" % entrypointpath)
|
||||
os.environ["HGPYENTRYPOINT"] = entrypointpath
|
||||
|
||||
try:
|
||||
os.symlink(self._hgcommand, tmphgpath)
|
||||
|
Loading…
Reference in New Issue
Block a user