Move fix-pip to __init__.py from osx.py
This commit is contained in:
parent
92c51e8406
commit
d245accc55
@ -22,7 +22,7 @@ def setup(ctx):
|
|||||||
osx.setup(ctx)
|
osx.setup(ctx)
|
||||||
else:
|
else:
|
||||||
linux.setup(ctx)
|
linux.setup(ctx)
|
||||||
fix_pip_download_cache(ctx)
|
fix_pip(ctx)
|
||||||
python(ctx)
|
python(ctx)
|
||||||
powerline(ctx)
|
powerline(ctx)
|
||||||
install_npm_libraries(ctx)
|
install_npm_libraries(ctx)
|
||||||
@ -115,11 +115,12 @@ def customize_user_settings(ctx):
|
|||||||
|
|
||||||
|
|
||||||
@ctask
|
@ctask
|
||||||
def fix_pip_download_cache(ctx):
|
def fix_pip(ctx):
|
||||||
ctx.run("sudo chown imalison ~/.pip/download_cache -R")
|
ctx.run("sudo easy_install -U pip")
|
||||||
|
ctx.run("sudo chown $(whoami) ~/.pip/download_cache -R")
|
||||||
|
|
||||||
|
|
||||||
ns.add_task(fix_pip_download_cache)
|
ns.add_task(fix_pip)
|
||||||
ns.add_task(change_shell)
|
ns.add_task(change_shell)
|
||||||
ns.add_task(customize_user_settings)
|
ns.add_task(customize_user_settings)
|
||||||
ns.add_task(dotfiles)
|
ns.add_task(dotfiles)
|
||||||
|
@ -15,7 +15,6 @@ def setup(ctx):
|
|||||||
set_path_for_launchd(ctx)
|
set_path_for_launchd(ctx)
|
||||||
rvm(ctx)
|
rvm(ctx)
|
||||||
fonts(ctx)
|
fonts(ctx)
|
||||||
fix_pip(ctx)
|
|
||||||
fix_htop(ctx)
|
fix_htop(ctx)
|
||||||
setup_dbus(ctx)
|
setup_dbus(ctx)
|
||||||
|
|
||||||
@ -158,11 +157,6 @@ def iTerm(ctx):
|
|||||||
))
|
))
|
||||||
|
|
||||||
|
|
||||||
@ctask
|
|
||||||
def fix_pip(ctx):
|
|
||||||
ctx.run("sudo easy_install -U pip")
|
|
||||||
|
|
||||||
|
|
||||||
@ctask
|
@ctask
|
||||||
def launch_agents(ctx, flags=''):
|
def launch_agents(ctx, flags=''):
|
||||||
ctx.run('dotfiles -sn{1} -R {0}/resources/LaunchAgents/ '
|
ctx.run('dotfiles -sn{1} -R {0}/resources/LaunchAgents/ '
|
||||||
|
Loading…
Reference in New Issue
Block a user