Skip to content

Commit

Permalink
rearrange setup.py try statement
Browse files Browse the repository at this point in the history
  • Loading branch information
stoiveroberts committed May 14, 2022
1 parent c1cc15f commit 8738cef
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions anuga/parallel/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,11 @@ def configuration(parent_package='',top_path=None):

try:
import mpi4py
config.add_data_dir('tests')
config.add_data_dir('data')
except:
pass
else:
config.add_data_dir('tests')
config.add_data_dir('data')

return config

Expand Down

0 comments on commit 8738cef

Please sign in to comment.