Mercurial > traipse_dev
view system_check.py @ 67:c5bc2abaf7f8 ornery-dev
Traipse Dev 'OpenRPG' {090818-01}
Traipse is a distribution of OpenRPG that is designed to be easy to setup and go. Traipse also makes it easy for developers to work on code without fear of sacrifice. 'Ornery-Orc' continues the trend of 'Grumpy' and adds fixes to the code. 'Ornery-Orc''s main goal is to offer more advanced features and enhance the productivity of the user.
Update Summary:
*Stable*
This is the first wave of Code Refinement updates. Includes new material from Core Beta; new debugger material (partially implemented), beginnings of switch to etree, TerminalWriter, and a little more. open_rpg has been renamed to component; functioning now as component.get(), component.add(), component.delete().
Fixes nodehandlers to bring the dev back to a stable push. Known issue with a nodehandler and it's sub dialogs.
author | sirebral |
---|---|
date | Tue, 18 Aug 2009 07:34:35 -0500 |
parents | 4385a7d0efd1 |
children |
line wrap: on
line source
import sys import time import platform import wx import orpg.orpg_version class system_check: def start(self,log_file='openrpg_sysinfo.txt'): self.log_file = open(log_file,'w') self.log_file.write("OpenRPG System Info " + time.strftime( '%m-%d-%y', time.localtime( time.time() ) )) self.check_openrpg() self.check_py() self.check_wxpython() self.check_platform() self.log_file.close() def check_wxpython(self): self.log_file.write("\nwxPython Version: " + wx.__version__) def check_py(self): self.log_file.write("\nPython: " + sys.version) def check_platform(self): self.log_file.write("\nPlatform: " + platform.platform()) def check_openrpg(self): self.log_file.write("\nOpenRPG Version: " + orpg.orpg_version.VERSION) self.log_file.write("\nOpenRPG Build: " + orpg.orpg_version.BUILD) if __name__ == "__main__": syscheck = system_check() syscheck.start()