Git Product home page Git Product logo

pineapple's Introduction

Pineapple

This project is a standalone Jupyter environment for doing data science using Python. It aims to include many useful working libraries and packages, while remaining super easy to install and use.

Building Prerequisites

General requirements:

  • C++11 compiler (e.g. g++-4.9 or later)
  • wxWidgets 3.x (source compile)
  • lessc (for compiling .less files, get it with npm)

Mac OS X

For wxWidgets, I downloaded the source then used:

mkdir build-release
cd build-release
../configure --enable-shared --enable-monolithic --with-osx_cocoa CXX='clang++ -std=c++11 -stdlib=libc++' CC=clang --with-macosx-version-min=10.8 --disable-debug --without-liblzma
make -j4
sudo make install

Ubuntu 14.04

To get g++-4.9 (required) use the Ubuntu Toolchain PPA.

sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install g++-4.9

You'll need various development files to compile.

sudo apt-get install build-essential libz-dev libgtk2.0-dev
    libreadline-dev libssl-dev libncursesw5-dev
    libgdbm-dev libsqlite3-dev libbz2-dev liblzma-dev
    libreadline-gplv2-dev
    libc6-dev

Get the wxWidget source and compile:

mkdir buildgtk
cd buildgtk
../configure --with-gtk
make -j4
sudo make install

Building for local testing

If prerequisites are met, you should be able to do:

mkdir build
cd build
cmake ..
make

This builds python and various libraries and builds the main application.

make custom-install

This installs pip requirements and then copies custom files into the notebook static directory. Now you can try the local application with make local-test.

Distribution

Redistributable packages are built using CPack.

make install
make package

The final redistributable files will be placed at the top level of the build directory. Final packages will be compressed tar files for Linux, DMG images for Mac.

Notes

OS X

If you want to change the icon images, you'll need to regenerate the icns files. I did this using iconverticons because the command-line tools I found were out of date and I didn't want to hassle with automating it.

Contact

Pineapple is a project of Nathan Whitehead, copyright 2015. Let me know what you think at nwhitehe [at] gmail.com.

pineapple's People

Contributors

nwhitehead avatar kant avatar maedoc avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.