PyXMake Developer Guide  1.0
PyXMake
PyXMake.VTL.py2x Namespace Reference

Functions

def main (BuildID, files=VTL.GetSourceCode(0), command=VTL.GetBuildCommand(0), libs=VTL.GetLinkDependency(0, 0, __arch), source=os.path.join(__mcd_core_path,"src"), include=[os.path.join(__mcd_core_path,"include", Utility.GetPlatform(), __arch, x) for x in VTL.GetIncludeDirectory(__mcd_core_path, 0, 4, __arch)], dependency=os.path.join(__mcd_core_path,"lib", Utility.GetPlatform(), __arch), output=os.path.join(__mcd_core_path,"bin", Utility.GetPlatform(), __arch), architecture=__arch, scratch=VTL.Scratch, verbosity=0, incremental=False, kwargs)
 

Variables

 parser = argparse.ArgumentParser(description="Build a shared Fortran library for current Python executable")
 
 metavar
 
 nargs
 
 help
 
 args
 
 make_opt = args.make[0]
 
string BuildID = 'beos'
 
 files
 
 command
 
 source
 
 libs
 
 include
 
 dependency
 
 output
 
 incremental
 

Detailed Description

Triple-use minimum working example for PyXMake. This script can be
executed in three different ways in varying levels of accessibility

@note: Compile Fortran source as a shared library for Python 
             using f2py (Py2X in the future).
Created on 20.03.2018    

@version:  1.0    
----------------------------------------------------------------------------------------------
@requires:
      - PyXMake, PyCODAC

@change: 
      -    
  
@author: garb_ma                                      [DLR-FA,STM Braunschweig]
----------------------------------------------------------------------------------------------

Function Documentation

◆ main()

def PyXMake.VTL.py2x.main (   BuildID,
  files = VTL.GetSourceCode(0),
  command = VTL.GetBuildCommand(0),
  libs = VTL.GetLinkDependency(0, 0, __arch),
  source = os.path.join(__mcd_core_path,"src"),
  include = [os.path.join(__mcd_core_path,"include",Utility.GetPlatform(),__arch, x)                      for x in VTL.GetIncludeDirectory(__mcd_core_path, 0, 4, __arch)],
  dependency = os.path.join(__mcd_core_path,"lib",Utility.GetPlatform(),__arch),
  output = os.path.join(__mcd_core_path,"bin",Utility.GetPlatform(),__arch),
  architecture = __arch,
  scratch = VTL.Scratch,
  verbosity = 0,
  incremental = False,
  kwargs 
)
Main function to execute the script.

Definition at line 68 of file py2x.py.