Begin work on nixdeploys; alter emacs config to point 2 py3

This commit is contained in:
jowj 2018-12-09 21:31:42 -06:00
parent 3704648532
commit db127c795c
2 changed files with 35 additions and 1 deletions

View File

@ -131,7 +131,7 @@
;; --------------------------------------
(elpy-enable)
(setq python-shell-interpreter "python"
(setq python-shell-interpreter "python3"
python-shell-interpreter-args "-i")
;; use flycheck not flymake with elpy

View File

@ -0,0 +1,34 @@
import os
import sys
import argparse
import subprocess
import pdb
reposToAdd = "ppa:nextcloud-devs/client"
aptProgramsToAdd = [
"powershell",
"emacs",
"python3.7",
"firefox",
"dropbox",
"docker",
"nextcloud-client"
]
snapProgramsToAdd = [
"slack",
"discord",
]
subprocess.run('sudo apt add-repo ' + reposToAdd)
print("adding repos")
subprocess.run('sudo apt update')
print("updating apt")
subprocess.run('sudo apt-get install ' + aptProgramsToAdd)
print("installing apt packages")
subprocess.run('sudo snap install ' + snapProgramsToAdd)
print("installing snap packages")