Skip to content

Commit ff25da8

Browse files
authored
Merge pull request #367 from ICB-DCM/fix_363_main
Fix(python) Don't compile main.cpp into python model module (Fixes #363)
2 parents c1f415f + 245acff commit ff25da8

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)