# -*- coding: utf8 -*- import dfm.mappings as mappings import dfm.commands as commands install_command = 'bash install.sh' __dependencies__ = ['anaconda'] __mappings__ = mappings.FSMappings('/') __commands__ = commands.Commands( 'pytorch', commands.Command(install_command, desc='Install PyTorch'), )
# -*- coding: utf8 -*- import dfm.mappings as mappings import dfm.commands as commands install_command = 'vim -c ":PluginInstall" -c ":q" -c ":q"' install_ycm = 'python3 install.py' __mappings__ = mappings.FSMappings('/') __commands__ = commands.Commands( 'vim-plugins', commands.Command(install_command, desc='Install vim plugins'), commands.Command(install_ycm, desc='Install ycm', cwd='bundle/YouCompleteMe'), )
mappings.Link('osx_envs', '.config/osx_envs', filters=[filters.OSXFilter()]), mappings.Link('linux_envs', '.config/linux_envs', filters=[filters.LinuxFilter()]), mappings.Copy('local_envs', '.config/local_envs', overwrite=False), desc='Config zsh.'), mappings.FSMappings('neofetch', mappings.Link('neofetch', '.config/neofetch'), desc='Config neofetch.'), mappings.FSMappings('/', mappings.Link('../bin', '.bin'), desc='Config binary executable.'), ) __commands__ = commands.Commands('/', commands.Commands('', commands.Command('scripts/install-linux.sh', desc='Install system utilities.'), filters=[filters.LinuxFilter()] ), commands.Commands('', commands.Command('scripts/install-osx.sh', desc='Install system utilities.'), filters=[filters.OSXFilter()] ), commands.Command('zsh/install.sh', desc='Install oh-my-zsh.'), commands.Command('fzf/install.sh', desc='Install fzf.'), commands.Command('autojump/install.sh', desc='Install autojump.'), commands.Command('echo Hello world!'), )
# -*- coding: utf8 -*- import dfm.mappings as mappings import dfm.commands as commands install_ycm = 'bash install.sh' __mappings__ = mappings.FSMappings('/') __commands__ = commands.Commands('gcp-init', commands.Command(install_command, desc='Install basic gcp softwares'), )
# -*- coding: utf8 -*- import dfm.mappings as mappings import dfm.commands as commands install_command = 'bash install.sh' __mappings__ = mappings.FSMappings('/') __commands__ = commands.Commands( 'anaconda', commands.Command(install_command, desc='Install Anaconda'), )