~ubuntu-branches/ubuntu/feisty/python-numpy/feisty

« back to all changes in this revision

Viewing changes to numpy/distutils/fcompiler/none.py

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2006-07-12 10:00:24 UTC
  • Revision ID: james.westby@ubuntu.com-20060712100024-5lw9q2yczlisqcrt
Tags: upstream-0.9.8
ImportĀ upstreamĀ versionĀ 0.9.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
from numpy.distutils.fcompiler import FCompiler
 
3
 
 
4
class NoneFCompiler(FCompiler):
 
5
 
 
6
    compiler_type = 'none'
 
7
 
 
8
    executables = {'compiler_f77':['/path/to/nowhere/none'],
 
9
                   'compiler_f90':['/path/to/nowhere/none'],
 
10
                   'compiler_fix':['/path/to/nowhere/none'],
 
11
                   'linker_so':['/path/to/nowhere/none'],
 
12
                   'archiver':['/path/to/nowhere/none'],
 
13
                   'ranlib':['/path/to/nowhere/none'],
 
14
                   'version_cmd':['/path/to/nowhere/none'],
 
15
                   }
 
16
 
 
17
 
 
18
if __name__ == '__main__':
 
19
    from distutils import log
 
20
    log.set_verbosity(2)
 
21
    from numpy.distutils.fcompiler import new_fcompiler
 
22
    compiler = NoneFCompiler()
 
23
    compiler.customize()
 
24
    print compiler.get_version()