Skip to content

Commit

Permalink
Add install and update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
UmSenhorQualquer committed Nov 20, 2017
1 parent 99058af commit ed90073
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

__pycache__/
Empty file added __init__.py
Empty file.
18 changes: 18 additions & 0 deletions install.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import pip


def install():
pip.main(['install', '--upgrade', 'logging-bootstrap/.'])
pip.main(['install', '--upgrade', 'pysettings/.'])
pip.main(['install', '--upgrade', 'pyforms/.'])
pip.main(['install', '--upgrade', 'pyforms-generic-editor/.'])
pip.main(['install', '--upgrade', 'pybpod-api/.'])
pip.main(['install', '--upgrade', 'pybpod-gui-api/.'])
pip.main(['install', '--upgrade', 'pybpod-gui-plugin/.'])
pip.main(['install', '--upgrade', 'pybpod-gui-plugin-session-history/.'])
pip.main(['install', '--upgrade', 'pybpod-gui-plugin-timeline/.'])
pip.main(['install', '--upgrade', 'pybpod-rotary-encoder-module/.'])


if __name__=='__main__':
install()
7 changes: 7 additions & 0 deletions update.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from subprocess import call
from install import install


call(["git", "pull", "--recurse-submodules"])
install()

0 comments on commit ed90073

Please sign in to comment.