forked from colonelpanic/dotfiles
Tweaks to make install work in linux.
This commit is contained in:
parent
72d7a0f72b
commit
85aa879620
4
.gitignore
vendored
4
.gitignore
vendored
@ -3,4 +3,6 @@ dotfiles/vim/bundle/*
|
||||
dotfiles/vim/.netrwhist
|
||||
dotfiles/sbt/0.13/plugins/project/
|
||||
dotfiles/sbt/0.13/plugins/target/
|
||||
dotfiles/sbt/boot/
|
||||
dotfiles/sbt/boot/
|
||||
dotfiles/.pip/download_cache
|
||||
dotfiles/.pip/pip.log
|
@ -1,9 +1,14 @@
|
||||
Flask
|
||||
py
|
||||
tox
|
||||
sqlalchemy
|
||||
ddg
|
||||
ouimeaux
|
||||
readline
|
||||
simplejson
|
||||
tox
|
||||
invoke
|
||||
lxml
|
||||
okcupyd
|
||||
vcrpy
|
||||
dotfiles
|
||||
numpy
|
||||
readline
|
||||
Flask
|
||||
|
@ -38,6 +38,7 @@ def install_python_libraries(ctx):
|
||||
os.path.join(RESOURCES_DIRECTORY, 'requirements.txt')
|
||||
))
|
||||
|
||||
|
||||
@ctask
|
||||
def install_npm_libraries(ctx):
|
||||
ctx.run('source {0}'.format(
|
||||
|
@ -4,11 +4,22 @@ from invoke import ctask
|
||||
@ctask(default=True)
|
||||
def all(ctx):
|
||||
apt_get(ctx)
|
||||
get_sbt(ctx)
|
||||
|
||||
|
||||
linux_pacakges = ('zsh', 'tmux', 'emacs24-nox', 'nmap', 'scala', 'default-jdk', 'default-jre')
|
||||
linux_pacakges = ('zsh', 'tmux', 'emacs24-nox', 'nmap', 'scala', 'default-jdk',
|
||||
'default-jre', 'python-virtualenv', 'htop', 'netcat', 'wget',
|
||||
'zlib1g-dev', 'libxml2-dev', 'libxslt1-dev', 'python-dev',
|
||||
'libncurses5-dev')
|
||||
@ctask
|
||||
def apt_get(ctx):
|
||||
install_command = 'sudo apt-get -y install'
|
||||
for package in linux_pacakges:
|
||||
ctx.run('{0} {1}'.format(install_command, package), pty=False)
|
||||
|
||||
|
||||
@ctask
|
||||
def get_sbt(ctx):
|
||||
ctx.run('wget http://dl.bintray.com/sbt/debian/sbt-0.13.5.deb '
|
||||
'--output-document=sbt.deb; sudo dpkg -i sbt.deb; '
|
||||
'sudo apt-get update; sudo apt-get install sbt; rm sbt.deb')
|
||||
|
@ -15,7 +15,7 @@ def all(ctx):
|
||||
|
||||
|
||||
ESSENTIAL = (
|
||||
"emacs", "tmux", "python --with-brewed-openssl", "htop", "greadlink", "zsh", "make",
|
||||
"emacs", "tmux", "python --with-brewed-openssl", "htop", "zsh", "make",
|
||||
"macvim --override-system-vim --custom-system-icons --with-features=huge "
|
||||
"--enable-rubyinterp --enable-pythoninterp --enable-perlinterp --enable-cscope"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user