-
-
Notifications
You must be signed in to change notification settings - Fork 409
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #210 from wkerzendorf/montecarlo/restructure
a restructure of the C-file file structure
- Loading branch information
Showing
19 changed files
with
24 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#setting the right include | ||
from setuptools import Extension | ||
import numpy as np | ||
import os | ||
|
||
from glob import glob | ||
|
||
|
||
def get_extensions(): | ||
sources = ['tardis/montecarlo/montecarlo.pyx'] | ||
sources += [os.path.relpath(fname) for fname in glob( | ||
os.path.join(os.path.dirname(__file__), 'src', '*.c'))] | ||
sources += [os.path.relpath(fname) for fname in glob( | ||
os.path.join(os.path.dirname(__file__), 'src/randomkit', '*.c'))] | ||
|
||
return [Extension('tardis.montecarlo.montecarlo', sources, | ||
include_dirs=['tardis/montecarlo/src', | ||
'tardis/montecarlo/src/randomkit', | ||
np.get_include()])] |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.