Skip to content

Commit

Permalink
attempt to pyswmm#197 - change win swmm lib constnat
Browse files Browse the repository at this point in the history
  • Loading branch information
jennwuu committed Jul 25, 2019
1 parent 3855f8b commit de3b430
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions pyswmm/tests/data/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

# Standard library imports
import os

import sys
DATA_PATH = os.path.abspath(os.path.dirname(__file__))

# Test models paths
Expand All @@ -22,5 +22,9 @@
MODEL_STORAGE_PUMP_MGD = os.path.join(DATA_PATH, 'model_storage_pump_MGD.inp')
MODEL_POLLUTANTS_PATH = os.path.join(DATA_PATH, 'model_pollutants.inp')
MODEL_LIDS_PATH = os.path.join(DATA_PATH, 'model_lids.inp')
WIN_SWMM_LIB_PATH = os.path.join(DATA_PATH, '..\\..\\lib\\windows',
'swmm5.dll')
if sys.maxsize > 2**32:
WIN_SWMM_LIB_PATH = os.path.join(DATA_PATH, '..\\..\\lib\\windows',
'swmm5-x64.dll')
else:
WIN_SWMM_LIB_PATH = os.path.join(DATA_PATH, '..\\..\\lib\\windows',
'swmm5.dll')

0 comments on commit de3b430

Please sign in to comment.