Commit 54877db30470726437f3da2765048e679e891ecd

Authored by Jürgen Knödlseder
1 parent 097d9165

Reformat code.

Showing 1 changed file with 7 additions and 7 deletions
pyext/setup.py.in
... ... @@ -132,13 +132,13 @@ if is_unit_test:
132 132 else:
133 133 data_files=[('@prefix@/share/ctools/swig', install_files)]
134 134  
135   -# Optionally add OpenMP support
  135 +# Optionally enable OpenMP
136 136 if '@OPENMP_TRUE@' != '#':
137   - extra_compile_args=['-fopenmp']
138   - extra_link_args=['-fopenmp']
  137 + extra_compile_args = ['-fopenmp']
  138 + extra_link_args = ['-fopenmp']
139 139 else:
140   - extra_compile_args=[]
141   - extra_link_args=[]
  140 + extra_compile_args = []
  141 + extra_link_args = []
142 142  
143 143 # Setup
144 144 setup(name='@PACKAGE_NAME@',
... ... @@ -153,8 +153,8 @@ setup(name='@PACKAGE_NAME@',
153 153 library_dirs=library_dirs,
154 154 libraries=libraries,
155 155 runtime_library_dirs=runtime_library_dirs,
156   - extra_compile_args=extra_compile_args,
157   - extra_link_args=extra_link_args)],
  156 + extra_compile_args=extra_compile_args,
  157 + extra_link_args=extra_link_args)],
158 158 data_files=data_files,
159 159 license="GNU GPL v3",
160 160 long_description="CTA science analysis tools",
... ...