Skip to content

Commit

Permalink
Backport 5df3863 to remove .pyc files from the installation (#20999)
Browse files Browse the repository at this point in the history
  • Loading branch information
amenasria authored Nov 22, 2023
1 parent 412a286 commit c7c3bb1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion omnibus/config/software/datadog-agent-finalize.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,12 @@
# based on the config file
delete "#{conf_dir}/apm.yaml.default"
delete "#{conf_dir}/process_agent.yaml.default"

# load isn't supported by windows
delete "#{conf_dir}/load.d"

# Remove .pyc files from embedded Python
command "del /q /s #{windows_safe_path(install_dir)}\\*.pyc"
end

if linux_target? || osx_target?
Expand Down

0 comments on commit c7c3bb1

Please sign in to comment.