Line | |
---|
1 | """compile.py - compile Python C-extension |
---|
2 | |
---|
3 | Commandline usage: |
---|
4 | python compile.py <filename> |
---|
5 | |
---|
6 | Usage from within Python: |
---|
7 | import compile |
---|
8 | compile.compile(<filename>,..) |
---|
9 | |
---|
10 | Ole Nielsen, Oct 2001 |
---|
11 | """ |
---|
12 | |
---|
13 | |
---|
14 | def compile(FNs=None, CC=None, LD = None, SFLAG = None, verbose = 1): |
---|
15 | """compile(FNs=None, CC=None, LD = None, SFLAG = None): |
---|
16 | The input parrameters aren't used. |
---|
17 | I'm keeping the same interface as the standard compile |
---|
18 | """ |
---|
19 | |
---|
20 | |
---|
21 | ########################### |
---|
22 | ####### HIJACKING COMPILE # |
---|
23 | ########################### |
---|
24 | print "Compiling using setup.py" |
---|
25 | import triangle.run_setup |
---|
26 | |
---|
27 | |
---|
28 | def can_use_C_extension(filename): |
---|
29 | """Determine whether specified C-extension |
---|
30 | can and should be used. |
---|
31 | """ |
---|
32 | pass |
---|
33 | |
---|
34 | if __name__ == '__main__': |
---|
35 | compile() |
---|
Note: See
TracBrowser
for help on using the repository browser.