Commit b17588946c8c4d9777aedd5da6d9c63503d4f321

Authored by Jürgen Knödlseder
1 parent db29cc79

Distribute swig files.

The swig files are needed for building of the ctools bindings, hence we put back the distribution of these files.
ChangeLog
... ... @@ -4,7 +4,6 @@
4 4 ================================
5 5  
6 6 Do not require gammalib/__init__.py file to be present
7   - Do not install swig files
8 7 clang++ compiler takes precedence over g++ compiler
9 8  
10 9 2012-09-14 Juergen Knoedlseder <jurgen.knodlseder@irap.omp.eu>
... ...
... ... @@ -20,9 +20,6 @@ In version 00-06-00, a missing gammalib/__init__.py file was
20 20 misinterpreted as a need for swig to build the Python bindings. On
21 21 systems without swig the Pyhton bindings were thus not built.
22 22  
23   -The swig files are no longer installed in the GammaLib directory.
24   -These files are indeed not needed.
25   -
26 23 The clang++ compiler takes now precedence over the g++ compiler. In
27 24 that way, clang++ will be selected by default on Mac OS X systems
28 25 (usually from Mac OS X 10.7 on).
... ...
pyext/setup.py.in
... ... @@ -264,8 +264,7 @@ for module in all_modules:
264 264 if is_unit_test:
265 265 data_files=[]
266 266 else:
267   - #data_files=[('@prefix@/share/gammalib/swig', install_files)]
268   - data_files=[]
  267 + data_files=[('@prefix@/share/gammalib/swig', install_files)]
269 268  
270 269 # Setup
271 270 setup(name='@PACKAGE_NAME@',
... ...