diff --git a/Documentation/BuildingOnDarwin.md b/Documentation/BuildingOnDarwin.md index 5bd78e0..ac00899 100644 --- a/Documentation/BuildingOnDarwin.md +++ b/Documentation/BuildingOnDarwin.md @@ -18,7 +18,7 @@ * If Python is already installed: ```sh - python.exe ./Scripts/install.py [--upgrade] + ./Scripts/install.py [--upgrade] ``` * If Python is not installed: ```sh diff --git a/Documentation/BuildingOnLinux.md b/Documentation/BuildingOnLinux.md index 708f8d3..ee6618b 100644 --- a/Documentation/BuildingOnLinux.md +++ b/Documentation/BuildingOnLinux.md @@ -11,7 +11,7 @@ * If Python is already installed: ```sh - python.exe ./Scripts/install.py [--upgrade] + ./Scripts/install.py [--upgrade] ``` * If Python is not installed: ```sh diff --git a/Documentation/BuildingOnWindows.md b/Documentation/BuildingOnWindows.md index af7deec..b101eac 100644 --- a/Documentation/BuildingOnWindows.md +++ b/Documentation/BuildingOnWindows.md @@ -32,7 +32,7 @@ powershell.exe -File Scripts\Install\InstallWindows.ps1 [-upgrade] ``` - Use the `--upgrade` switch (or `-upgrade` switch for PowerShell) to refresh packages at a later date. + Use the `--upgrade` switch (Python), the or `-upgrade` switch (PowerShell) to refresh packages at a later date. ### Building diff --git a/Scripts/Detail/Config.py b/Scripts/Detail/Config.py index 7ac26c9..3c838cf 100644 --- a/Scripts/Detail/Config.py +++ b/Scripts/Detail/Config.py @@ -46,7 +46,7 @@ class Configuration(): section = platform.system() - for name in self.variableList(): + for name in self.propertyList(): value = parser.get( section, name, fallback = getattr( self, name ) ) setattr( self, name, value ) @@ -162,7 +162,9 @@ class Configuration(): utility.printItem( "productRevision: ", self.productRevision ) utility.printItem( "productPackageName: ", self.productPackageName ) - def variableList( self ): + # Property list + + def propertyList( self ): return dict( ( name, getattr( self, name ) ) for name in dir( self ) if not callable( getattr( self, name ) ) and not name.startswith( '__' ) ) diff --git a/Scripts/build.py b/Scripts/build.py index 512882e..90df47f 100755 --- a/Scripts/build.py +++ b/Scripts/build.py @@ -31,7 +31,7 @@ def configureEnvironment(): utility.printHeading( "Configuring environment..." ) - for name, value in config.variableList().items(): + for name, value in config.propertyList().items(): if value: print( "\tSetting: ${" + utility.style.bold + name + utility.style.none + "}" )