install setproctitle from pypi instead of building from source

This commit is contained in:
acxz
2020-12-17 00:36:12 -05:00
parent c8d14eb3c5
commit 020ad98f6f
9 changed files with 10 additions and 41 deletions
+2 -1
View File
@@ -143,6 +143,7 @@ install_requires = [
"py-spy >= 0.2.0",
"pyyaml",
"requests",
"setproctitle",
"redis >= 3.5.0",
"opencensus",
"prometheus_client >= 0.7.1",
@@ -270,7 +271,7 @@ def build(build_python, build_java):
# that certain flags will not be passed along such as --user or sudo.
# TODO(rkn): Fix this.
if not os.getenv("SKIP_THIRDPARTY_INSTALL"):
pip_packages = ["psutil", "setproctitle"]
pip_packages = ["psutil"]
subprocess.check_call(
[
sys.executable, "-m", "pip", "install", "-q",