Author: sebastien.lelong
Date: Wed Oct 22 12:31:34 2008
New Revision: 446

Added:
    trunk/tools/jallib   (contents, props changed)
    trunk/tools/jallib.bat   (contents, props changed)
    trunk/tools/jallib.exe   (contents, props changed)
    trunk/tools/jallib.sh   (contents, props changed)
Modified:
    trunk/tools/Makefile

Log:
jallib binaries for linux and windows, all embedded, even python. One  
single file -- ok quite big --, but you have everything to run it. Also,  
two scripts for final users, when they can define env vars, so it's easy to  
use

Modified: trunk/tools/Makefile
==============================================================================
--- trunk/tools/Makefile        (original)
+++ trunk/tools/Makefile        Wed Oct 22 12:31:34 2008
@@ -50,6 +50,15 @@
  doc:
        ./jalapi_generate.sh ../${ENV}

+check-pyinstaller:
+       # YOU MUST HAVE pyinstaller INSTALLED --  
http://pyinstaller.python-hosting.com --
+       [ -e pyinstaller-1.3 ]
+
+linux-binary: check-pyinstaller
+       python pyinstaller-1.3/Configure.py
+       python pyinstaller-1.3/Makespec.py -F jallib.py
+       python pyinstaller-1.3/Build.py jallib.spec
+

  export:
        # prepare distrib dir

Added: trunk/tools/jallib
==============================================================================
Binary file. No diff available.

Added: trunk/tools/jallib.bat
==============================================================================
--- (empty file)
+++ trunk/tools/jallib.bat      Wed Oct 22 12:31:34 2008
@@ -0,0 +1,57 @@
+rem  Title: jallib executable for windows system
+rem  Author: Sebastien Lelong, Copyright (c) 2008, all rights reserved.
+rem  Adapted-by:
+rem  Compiler:
+rem
+rem  This file is part of jallib (http://jallib.googlecode.com)
+rem  Released under the BSD license  
(http://www.opensource.org/licenses/bsd-license.php)
+rem
+rem  Sources:
+rem
+rem  Description: the aim of this script is to ease user's life !
+rem  If *you* are a user, edit this script by specfiying the following
+rem  environment variables. These variables will save you some typing
+rem  while using the jallib wrapper script. Adapt it to your own need !
+rem  Once done, you can put this script in your path.
+rem  Rem: usually, setting JALLIB_ROOT as an absolute path is enough.
+
+
+rem ########################
+rem ENVIRONMENT VARIABLES #
+rem ######################
+
+
+rem Path to the jallib root's repository  
(containing "tools,"unvalidated","validated" dirs)
+set JALLIB_ROOT=
+rem path to jallib root's libraries. You may want to point to "validated"  
or "unvalidated"
+set JALLIB_REPOS=%JALLIB_ROOT%\unvalidated\include
+rem path to jallib root's samples. You may want to point to "validated"  
or "unvalidated"
+set JALLIB_SAMPLEDIR=%JALLIB_ROOT%\unvalidated\sample
+rem path to "jalv2" executable. If not in your PATH, set an absolute path  
to the exec
+set JALLIB_JALV2=C:\jalv2\jalv2.exe
+
+
+
+
+rem Either:
+rem  - run the "jallib.exe" standalone executable
+rem    (no dependencies, recommended)
+rem  - run the jallib.py python script
+rem    (advanced user, you'll need to install dependencies first)
+
+rem #############
+rem  Standalone #
+rem #############
+rem  (recommended)
+"%JALLIB_ROOT%\tools\jallib.exe" %1 %2 %3 %4 %5 %6 %7 %8 %9
+
+
+rem ###################
+rem  python script    #
+rem ###################
+rem  (advanced users)
+rem  uncomment the two last line, and comment the standalone call.
+rem # path to "python" executable, if needed
+set JALLIB_PYTHON=C:\Python25\python.exe
+%JALLIB_PYTHON% %JALLIB_ROOT%/tools/jallib.py %1 %2 %3 %4 %5 %6 %7 %8 %9
+

Added: trunk/tools/jallib.exe
==============================================================================
Binary file. No diff available.

Added: trunk/tools/jallib.sh
==============================================================================
--- (empty file)
+++ trunk/tools/jallib.sh       Wed Oct 22 12:31:34 2008
@@ -0,0 +1,59 @@
+#!/bin/bash
+#
+#
+# Title: jallib executable for linux systems
+# Author: Sebastien Lelong, Copyright (c) 2008, all rights reserved.
+# Adapted-by:
+# Compiler:
+#
+# This file is part of jallib (http://jallib.googlecode.com)
+# Released under the BSD license  
(http://www.opensource.org/licenses/bsd-license.php)
+#
+# Sources:
+#
+# Description: the aim of this script is to ease user's life !
+# If *you* are a user, edit (or copy) this script by specfiying the  
following
+# environment variables. These variables will save you some typing
+# while using the jallib wrapper script. Adapt it to your own need !
+# Once done, you can put this script in your path.
+# Rem: usually, setting JALLIB_ROOT as an absolute path is enough.
+#
+
+
+#########################
+# ENVIRONMENT VARIABLES #
+#########################
+# Path to the jallib root's repository  
(containing "tools,"unvalidated","validated" dirs)
+export JALLIB_ROOT=
+# path to jallib root's libraries. You may want to point to "validated"  
or "unvalidated"
+export JALLIB_REPOS=$JALLIB_ROOT/unvalidated/include
+# path to jallib root's samples. You may want to point to "validated"  
or "unvalidated"
+export JALLIB_SAMPLEDIR=$JALLIB_ROOT/unvalidated/sample
+# path to "jalv2" executable. If not in your PATH, set an absolute path to  
the exec
+export JALLIB_JALV2=jalv2
+
+
+
+# Either:
+#  - run the "jallib" standalone executable
+#    (no dependencies, recommended)
+#  - run the jallib.py python script
+#    (advanced user, you'll need to install dependencies first)
+
+##############
+# Standalone #
+##############
+# (recommended)
+$JALLIB_ROOT/tools/jallib $*
+
+
+####################
+# python script    #
+####################
+# (advanced users)
+# uncomment the two last line, and comment the standalone call.
+## path to "python" executable, if needed
+#export JALLIB_PYTHON=python
+#$JALLIB_PYTHON $JALLIB_ROOT/tools/jallib.py $*
+
+

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to