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,7 +4,6 @@
4 ================================ 4 ================================
5 5
6 Do not require gammalib/__init__.py file to be present 6 Do not require gammalib/__init__.py file to be present
7 - Do not install swig files  
8 clang++ compiler takes precedence over g++ compiler 7 clang++ compiler takes precedence over g++ compiler
9 8
10 2012-09-14 Juergen Knoedlseder <jurgen.knodlseder@irap.omp.eu> 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,9 +20,6 @@ In version 00-06-00, a missing gammalib/__init__.py file was
20 misinterpreted as a need for swig to build the Python bindings. On 20 misinterpreted as a need for swig to build the Python bindings. On
21 systems without swig the Pyhton bindings were thus not built. 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 The clang++ compiler takes now precedence over the g++ compiler. In 23 The clang++ compiler takes now precedence over the g++ compiler. In
27 that way, clang++ will be selected by default on Mac OS X systems 24 that way, clang++ will be selected by default on Mac OS X systems
28 (usually from Mac OS X 10.7 on). 25 (usually from Mac OS X 10.7 on).
pyext/setup.py.in
@@ -264,8 +264,7 @@ for module in all_modules: @@ -264,8 +264,7 @@ for module in all_modules:
264 if is_unit_test: 264 if is_unit_test:
265 data_files=[] 265 data_files=[]
266 else: 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 # Setup 269 # Setup
271 setup(name='@PACKAGE_NAME@', 270 setup(name='@PACKAGE_NAME@',