homebrew-cask/Casks/anaconda.rb

28 lines
944 B
Ruby

cask 'anaconda' do
version '4.3.1'
sha256 'a42267203e207cb5e0f539e0d879ead12e436311825c7114d0edd880d001b539'
url "https://repo.continuum.io/archive/Anaconda3-#{version}-MacOSX-x86_64.sh"
name 'Continuum Analytics Anaconda'
homepage 'https://www.continuum.io/why-anaconda'
depends_on macos: '>= :lion'
container type: :naked
installer script: {
executable: "Anaconda3-#{version}-MacOSX-x86_64.sh",
args: ['-b'],
}
uninstall delete: '~/anaconda3'
zap delete: [
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.continuum.io.sfl',
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.continuum.python.sfl',
]
caveats do
path_environment_variable '~/anaconda3/bin'
end
end