Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillian Padovani Germano <wpgermano@gmail.com>2004-11-07 19:31:13 +0300
committerWillian Padovani Germano <wpgermano@gmail.com>2004-11-07 19:31:13 +0300
commitc702b237d5f9a542c1d327e1c87a5b7e7ec81590 (patch)
tree99347ced1b1260843aff9c6f70670a2a9d45f7f8 /release/scripts/sysinfo.py
parent23e8b982288699258c4bf4d7f5464f968b98d5cf (diff)
Scripts:
-- adding help_browser.py to show help for installed scripts; -- updated scripts to include basic doc info to be shown with above script: script authors can / will / should update with more info, of course; -- updated some scripts to newer versions: disp_paint, fixfromarmature, hotkeys, etc.
Diffstat (limited to 'release/scripts/sysinfo.py')
-rw-r--r--release/scripts/sysinfo.py28
1 files changed, 21 insertions, 7 deletions
diff --git a/release/scripts/sysinfo.py b/release/scripts/sysinfo.py
index 50aed881329..04d31ccec16 100644
--- a/release/scripts/sysinfo.py
+++ b/release/scripts/sysinfo.py
@@ -1,4 +1,5 @@
#!BPY
+
"""
Name: 'System Information...'
Blender: 234
@@ -6,10 +7,24 @@ Group: 'HelpSystem'
Tooltip: 'Information about your Blender environment, useful to diagnose problems.'
"""
+__author__ = "Willian P. Germano"
+__url__ = ("blender", "elysiun")
+__version__ = "1.0"
+__bpydoc__ = """\
+This script creates a text in Blender's Text Editor with information
+about your OS, video card, OpenGL driver, Blender and Python versions and
+more.
+
+If you are experiencing trouble running Blender or its scripts in general,
+this information can be useful for online searches (like checking if there
+are known issues related to your video card) or to get help from other users
+or the program's developers.
+"""
+
# $Id$
#
# --------------------------------------------------------------------------
-# sysinfo.py version 0.1 Jun 09, 2004
+# sysinfo.py version 1.0 Jun 09, 2004
# --------------------------------------------------------------------------
# ***** BEGIN GPL LICENSE BLOCK *****
#
@@ -85,13 +100,12 @@ for p in sys.path:
output.write(p + '\n')
output.write("\n- Default folder for registered scripts:\n\n")
-scriptsdir = Blender.Get("datadir")
-if scriptsdir:
- scriptsdir = scriptsdir.replace("/bpydata","/scripts")
- output.write(scriptsdir)
-else:
+scriptsdir = Blender.Get("scriptsdir")
+if not scriptsdir:
output.write("<WARNING> -- not found")
warnings += 1
+else:
+ output.write(scriptsdir)
missing_mods = [] # missing basic modules
@@ -143,7 +157,7 @@ if (warnings):
output.write("\n(*) Found %d warning" % warnings)
if (warnings > 1): output.write("s") # (blush)
output.write(", documented in the text above.")
-else: output.write("\n==\nNo problems were found.")
+else: output.write("\n==\nNo problems were found (scroll up for details).")
Blender.Window.WaitCursor(0)
exitmsg = "Done!|Please check the text %s in the Text Editor window" % output.name