forked from colonelpanic/dotfiles
Tweaks to make install work in linux.
This commit is contained in:
parent
72d7a0f72b
commit
85aa879620
2
.gitignore
vendored
2
.gitignore
vendored
@ -4,3 +4,5 @@ dotfiles/vim/.netrwhist
|
|||||||
dotfiles/sbt/0.13/plugins/project/
|
dotfiles/sbt/0.13/plugins/project/
|
||||||
dotfiles/sbt/0.13/plugins/target/
|
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
|
ddg
|
||||||
ouimeaux
|
ouimeaux
|
||||||
readline
|
|
||||||
simplejson
|
simplejson
|
||||||
tox
|
|
||||||
invoke
|
invoke
|
||||||
|
lxml
|
||||||
okcupyd
|
okcupyd
|
||||||
|
vcrpy
|
||||||
|
dotfiles
|
||||||
numpy
|
numpy
|
||||||
|
readline
|
||||||
|
Flask
|
||||||
|
@ -38,6 +38,7 @@ def install_python_libraries(ctx):
|
|||||||
os.path.join(RESOURCES_DIRECTORY, 'requirements.txt')
|
os.path.join(RESOURCES_DIRECTORY, 'requirements.txt')
|
||||||
))
|
))
|
||||||
|
|
||||||
|
|
||||||
@ctask
|
@ctask
|
||||||
def install_npm_libraries(ctx):
|
def install_npm_libraries(ctx):
|
||||||
ctx.run('source {0}'.format(
|
ctx.run('source {0}'.format(
|
||||||
|
@ -4,11 +4,22 @@ from invoke import ctask
|
|||||||
@ctask(default=True)
|
@ctask(default=True)
|
||||||
def all(ctx):
|
def all(ctx):
|
||||||
apt_get(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
|
@ctask
|
||||||
def apt_get(ctx):
|
def apt_get(ctx):
|
||||||
install_command = 'sudo apt-get -y install'
|
install_command = 'sudo apt-get -y install'
|
||||||
for package in linux_pacakges:
|
for package in linux_pacakges:
|
||||||
ctx.run('{0} {1}'.format(install_command, package), pty=False)
|
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 = (
|
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 "
|
"macvim --override-system-vim --custom-system-icons --with-features=huge "
|
||||||
"--enable-rubyinterp --enable-pythoninterp --enable-perlinterp --enable-cscope"
|
"--enable-rubyinterp --enable-pythoninterp --enable-perlinterp --enable-cscope"
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user