master
Dominik Deák 5 years ago
parent 274f67199b
commit a955b2aafd
No known key found for this signature in database
GPG Key ID: 85514EC0CCE7007C
  1. 2
      Documentation/BuildingOnDarwin.md
  2. 2
      Documentation/BuildingOnLinux.md
  3. 2
      Documentation/BuildingOnWindows.md
  4. 6
      Scripts/Detail/Config.py
  5. 2
      Scripts/build.py

@ -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

@ -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

@ -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

@ -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( '__' ) )

@ -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 + "}" )

Loading…
Cancel
Save