source: inundation/triangle/compile.py @ 2141

Last change on this file since 2141 was 2141, checked in by duncan, 19 years ago

compiling triangle using setup.

File size: 787 bytes
RevLine 
[2141]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 
14def 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
28def can_use_C_extension(filename):
29    """Determine whether specified C-extension
30    can and should be used.
31    """
32    pass
33
34if __name__ == '__main__':
35  compile()
Note: See TracBrowser for help on using the repository browser.