Skip to content

Commit 245acff

Browse files
committed
Fix(python) Don't compile main.cpp into python model module (Fixes #363)
1 parent c1f415f commit 245acff

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

python/amici/setup.template.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ def getModelSources():
1111
import glob
1212
import re
1313
modelSources = glob.glob('*.cpp')
14+
try:
15+
modelSources.remove('main.cpp')
16+
except ValueError:
17+
pass
1418
return modelSources
1519

1620

0 commit comments

Comments
 (0)