Commit d84cf42b23332cfd14c0ebb352eeb497e5b5459e

Authored by knodlseder
1 parent 8256fabc

update for exclusion of gammalib

pyext/ctatools.i
1 /*************************************************************************** 1 /***************************************************************************
2 * ctatools - SWIG file * 2 * ctatools - SWIG file *
3 * ----------------------------------------------------------------------- * 3 * ----------------------------------------------------------------------- *
4 - * copyright (C) 2010 by Jurgen Knodlseder * 4 + * copyright (C) 2010-2011 by Jurgen Knodlseder *
5 * ----------------------------------------------------------------------- * 5 * ----------------------------------------------------------------------- *
6 * * 6 * *
7 * This program is free software; you can redistribute it and/or modify * 7 * This program is free software; you can redistribute it and/or modify *
@@ -11,14 +11,17 @@ @@ -11,14 +11,17 @@
11 * * 11 * *
12 * ----------------------------------------------------------------------- * 12 * ----------------------------------------------------------------------- *
13 * Usage: * 13 * Usage: *
14 - * swig -c++ -python -Wall -includeall ctatools.i * 14 + * swig -c++ -python -Wall ctatools.i *
15 ***************************************************************************/ 15 ***************************************************************************/
16 %module ctatools 16 %module ctatools
17 17
18 -/***********************************************************************//**  
19 - * @brief Include all CTA tools  
20 - ***************************************************************************/  
21 -#include "ctobssim.i"  
22 -#include "ctselect.i"  
23 -#include "ctbin.i"  
24 -#include "ctlike.i" 18 +/* __ Support module _____________________________________________________ */
  19 +%include "stl.i"
  20 +%include "exception.i"
  21 +%include "GApplication.i"
  22 +
  23 +/* __ CTA tools __________________________________________________________ */
  24 +%include "ctobssim.i"
  25 +%include "ctselect.i"
  26 +%include "ctbin.i"
  27 +%include "ctlike.i"
pyext/ctbin.i
@@ -20,7 +20,6 @@ @@ -20,7 +20,6 @@
20 #include "ctbin.hpp" 20 #include "ctbin.hpp"
21 #include "GTools.hpp" 21 #include "GTools.hpp"
22 %} 22 %}
23 -%include gammalib.i  
24 23
25 24
26 /***********************************************************************//** 25 /***********************************************************************//**
pyext/ctlike.i
@@ -20,7 +20,6 @@ @@ -20,7 +20,6 @@
20 #include "ctlike.hpp" 20 #include "ctlike.hpp"
21 #include "GTools.hpp" 21 #include "GTools.hpp"
22 %} 22 %}
23 -%include gammalib.i  
24 23
25 24
26 /***********************************************************************//** 25 /***********************************************************************//**
pyext/ctobssim.i
@@ -20,7 +20,6 @@ @@ -20,7 +20,6 @@
20 #include "ctobssim.hpp" 20 #include "ctobssim.hpp"
21 #include "GTools.hpp" 21 #include "GTools.hpp"
22 %} 22 %}
23 -%include gammalib.i  
24 23
25 24
26 /***********************************************************************//** 25 /***********************************************************************//**
pyext/ctselect.i
@@ -20,7 +20,6 @@ @@ -20,7 +20,6 @@
20 #include "ctselect.hpp" 20 #include "ctselect.hpp"
21 #include "GTools.hpp" 21 #include "GTools.hpp"
22 %} 22 %}
23 -%include gammalib.i  
24 23
25 24
26 /***********************************************************************//** 25 /***********************************************************************//**