From 3a7cee0a54dd72e9bcc80c712394ddc7241ac7c3 Mon Sep 17 00:00:00 2001 From: Remi Rampin Date: Tue, 31 Jul 2018 17:12:09 -0400 Subject: [PATCH] Add reprozip-jupyter wrapper script --- scripts/macos/instructions.txt | 2 +- scripts/macos/reprozip-jupyter | 3 +++ scripts/windows/input/reprozip-jupyter.bat | 2 ++ scripts/windows/reprounzip.iss | 1 + 4 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 scripts/macos/reprozip-jupyter create mode 100644 scripts/windows/input/reprozip-jupyter.bat diff --git a/scripts/macos/instructions.txt b/scripts/macos/instructions.txt index 946ff20a5..e9f93538e 100644 --- a/scripts/macos/instructions.txt +++ b/scripts/macos/instructions.txt @@ -4,7 +4,7 @@ export CFLAGS="-mmacosx-version-min=10.8 -isysroot /Developer/SDKs/MacOSX10.8.sd export LDFLAGS="-mmacosx-version-min=10.8 -isysroot /Developer/SDKs/MacOSX10.8.sdk" export MACOS_DEPLOYMENT_TARGET=10.8 Build Python with --prefix=/opt/reprounzip/python27 -Copy reprounzip and reprounzip-qt to /opt/reprounzip +Copy reprounzip, reprounzip-qt, and reprozip-jupyter to /opt/reprounzip Install pip with get-pip.py Install reprounzip, reprounzip-docker, reprounzip-vagrant, reprounzip-vistrails Install sip and PyQt4 diff --git a/scripts/macos/reprozip-jupyter b/scripts/macos/reprozip-jupyter new file mode 100644 index 000000000..730cdb237 --- /dev/null +++ b/scripts/macos/reprozip-jupyter @@ -0,0 +1,3 @@ +#!/bin/sh + +exec "$(dirname "$0")/python27/bin/reprozip-jupyter" "$@" diff --git a/scripts/windows/input/reprozip-jupyter.bat b/scripts/windows/input/reprozip-jupyter.bat new file mode 100644 index 000000000..be2be89f0 --- /dev/null +++ b/scripts/windows/input/reprozip-jupyter.bat @@ -0,0 +1,2 @@ +@echo off +"%~dp0\python2.7\Scripts\reprozip-jupyter.exe" %* diff --git a/scripts/windows/reprounzip.iss b/scripts/windows/reprounzip.iss index 1a9e31061..06170580d 100644 --- a/scripts/windows/reprounzip.iss +++ b/scripts/windows/reprounzip.iss @@ -23,6 +23,7 @@ Source: input\ssh\*; DestDir: {app}\ssh ; Other files Source: input\reprounzip.bat; DestDir: {app} Source: input\reprounzip-qt.bat; DestDir: {app} +Source: input\reprozip-jupyter.bat; DestDir: {app} Source: input\reprozip.ico; DestDir: {app} [UninstallDelete]