Skip to content

Commit

Permalink
Build script now does a full build of Python for Starbot
Browse files Browse the repository at this point in the history
  • Loading branch information
1byte2bytes committed Mar 15, 2017
1 parent 9191a80 commit 667eb81
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ zlib*
openssl*
bzip2*
libedit*
sqlite*
sqlite*
python*
8 changes: 6 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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"
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

0 comments on commit 667eb81

Please sign in to comment.