Classes | Functions | Variables
mingw Namespace Reference

Classes

class  EmptyLogger
 

Functions

def download (url, location, log=EmptyLogger())
 
def find_7zip (log=EmptyLogger())
 
def find_in_path (file, path=None)
 
def main ()
 
def repository (urls=urls, log=EmptyLogger())
 
def root (location=None, arch=None, version=None, threading=None, exceptions=None, revision=None, log=EmptyLogger())
 
def str2ver (string)
 
def unpack (archive, location, log=EmptyLogger())
 

Variables

tuple urls
 

Function Documentation

◆ download()

def mingw.download (   url,
  location,
  log = EmptyLogger() 
)
Downloads and unpacks a mingw-builds archive

Definition at line 125 of file mingw.py.

◆ find_7zip()

def mingw.find_7zip (   log = EmptyLogger())
Attempts to find 7zip for unpacking the mingw-build archives

Definition at line 99 of file mingw.py.

◆ find_in_path()

def mingw.find_in_path (   file,
  path = None 
)
Attempts to find an executable in the path

Definition at line 86 of file mingw.py.

◆ main()

def mingw.main ( )
Invoked when the script is run directly by the python interpreter

Definition at line 261 of file mingw.py.

◆ repository()

def mingw.repository (   urls = urls,
  log = EmptyLogger() 
)
Downloads and parse mingw-build repository files and parses them

Definition at line 55 of file mingw.py.

◆ root()

def mingw.root (   location = None,
  arch = None,
  version = None,
  threading = None,
  exceptions = None,
  revision = None,
  log = EmptyLogger() 
)
Returns the root folder of a specific version of the mingw-builds variant
of gcc. Will download the compiler if needed

Definition at line 172 of file mingw.py.

◆ str2ver()

def mingw.str2ver (   string)
Converts a version string into a tuple

Definition at line 248 of file mingw.py.

◆ unpack()

def mingw.unpack (   archive,
  location,
  log = EmptyLogger() 
)
Unpacks a mingw-builds archive

Definition at line 114 of file mingw.py.

Variable Documentation

◆ urls

tuple mingw.urls
Initial value:
1 = (
2  'http://downloads.sourceforge.net/project/mingw-w64/Toolchains%20'
3  'targetting%20Win32/Personal%20Builds/mingw-builds/installer/'
4  'repository.txt',
5  'http://downloads.sourceforge.net/project/mingwbuilds/host-windows/'
6  'repository.txt'
7 )

Definition at line 44 of file mingw.py.



libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:11