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:
Jun Wu 2019-10-29 19:00:53 -07:00 committed by Facebook Github Bot
parent 1de22af52e
commit efd1525e03
2 changed files with 0 additions and 13 deletions

View File

@ -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

View File

@ -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)