From 667eb81ee4de2d71b1e55761f98161bce7636cd1 Mon Sep 17 00:00:00 2001 From: Sydney Erickson Date: Wed, 15 Mar 2017 14:22:35 -0700 Subject: [PATCH] Build script now does a full build of Python for Starbot --- .gitignore | 3 ++- build.sh | 8 ++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index f76c2c3..c5a324a 100644 --- a/.gitignore +++ b/.gitignore @@ -11,4 +11,5 @@ zlib* openssl* bzip2* libedit* -sqlite* \ No newline at end of file +sqlite* +python* \ No newline at end of file diff --git a/build.sh b/build.sh index 5cd59ae..c383e5d 100755 --- a/build.sh +++ b/build.sh @@ -22,7 +22,7 @@ # └ ncurses (installed before) -rm -rf lbzip2* gperf* libiconv* expat* gettext* ncurses* xz* zlib* openssl* bzip2* libedit* sqlite3* +rm -rf lbzip2* gperf* libiconv* expat* gettext* ncurses* xz* zlib* openssl* bzip2* libedit* sqlite* Python* export INSTALLDIR=$HOME/Starbot.framework @@ -64,4 +64,8 @@ make install PREFIX=$INSTALLDIR cd .. downloadAndCompile libedit-20160903-3.1 http://thrysoee.dk/editline/libedit-20160903-3.1.tar.gz "--with-ncurses=$INSTALLDIR" -downloadAndCompile sqlite-autoconf-3170000 http://www.sqlite.org/2017/sqlite-autoconf-3170000.tar.gz "--with-libedit=$INSTALLDIR --with-ncurses=$INSTALLDIR" \ No newline at end of file +downloadAndCompile sqlite-autoconf-3170000 http://www.sqlite.org/2017/sqlite-autoconf-3170000.tar.gz "--with-libedit=$INSTALLDIR --with-ncurses=$INSTALLDIR" +cp -r $INSTALLDIR/lib $HOME/lib +downloadAndCompile Python-3.5.3 https://www.python.org/ftp/python/3.5.3/Python-3.5.3.tgz +rm -rf $HOME/lib +$INSTALLDIR/bin/pip3 install pluginbase psutil gitpython pyparsing \ No newline at end of file