in Formula/amazon-efs-utils.rb [168:209]
def install
venv = virtualenv_create(libexec, "python3")
%w[atomicwrites attrs botocore configparser coverage entrypoints flake8 funcsigs jmespath mccabe
mock more-itertools packaging pbr pluggy py pycodestyle pyflakes pyparsing pytest pytest-cov pytest-html
pytest-metadata pytest-mock python-dateutil six urllib3 wcwidth].each do |r|
venv.pip_install resource(r)
end
inreplace buildpath/"src/mount_efs/__init__.py", "/etc", libexec/"etc"
inreplace buildpath/"src/mount_efs/__init__.py", "/var", libexec/"var"
inreplace buildpath/"src/watchdog/__init__.py", "/etc", libexec/"etc"
inreplace buildpath/"src/watchdog/__init__.py", "/var", libexec/"var"
inreplace buildpath/"dist/efs-utils.conf", "/etc", libexec/"etc"
inreplace buildpath/"dist/efs-utils.conf", "/var", libexec/"var"
inreplace buildpath/"dist/amazon-efs-mount-watchdog.plist", "/var", libexec/"var"
if libexec.to_s.start_with?("/opt/homebrew")
inreplace buildpath/"dist/amazon-efs-mount-watchdog.plist", "/usr/local", "/opt/homebrew"
end
(libexec/"etc/amazon/efs/").mkpath
libexec.install buildpath/"dist/efs-utils.crt" => "etc/amazon/efs/efs-utils.crt"
libexec.install buildpath/"dist/efs-utils.conf" => "etc/amazon/efs/efs-utils.conf"
(libexec/"usr/share/man/man8/").mkpath
man8.install buildpath/"man/mount.efs.8"
(prefix/"bin").mkpath
bin.install buildpath/"src/watchdog/__init__.py" => "amazon-efs-mount-watchdog"
bin.install buildpath/"src/mount_efs/__init__.py" => "mount.efs"
(libexec/"var/log/amazon/efs").mkpath
(libexec/"conffiles").mkpath
libexec.install buildpath/"dist/amazon-efs-utils.conffiles" => "conffiles/amazon-efs-utils.conffiles"
(libexec/"etc/init").mkpath
libexec.install buildpath/"dist/amazon-efs-mount-watchdog.conf" => "etc/init/amazon-efs-mount-watchdog.conf"
libexec.install buildpath/"dist/amazon-efs-mount-watchdog.plist" => "amazon-efs-mount-watchdog.plist"
end