From 90a7492448113b330b9f5e7f2795535ce2e3ddcc Mon Sep 17 00:00:00 2001 From: Campbell Barton <ideasman42@gmail.com> Date: Wed, 19 Dec 2012 15:42:01 +0000 Subject: [PATCH] formatting edits for bl_info --- .../add_mesh_supertoroid.py | 18 ++++++------- io_anim_acclaim/__init__.py | 18 ++++++------- io_anim_c3d/__init__.py | 18 ++++++------- io_export_after_effects.py | 14 +++++----- io_import_scene_dxf.py | 26 +++++++++---------- io_scene_obj/import_obj.py | 12 --------- light_field_tools/__init__.py | 16 ++++++------ mesh_looptools.py | 24 ++++++++--------- space_view3d_copy_attributes.py | 22 ++++++++-------- space_view3d_screencast_keys.py | 26 +++++++++---------- 10 files changed, 91 insertions(+), 103 deletions(-) diff --git a/add_mesh_extra_objects/add_mesh_supertoroid.py b/add_mesh_extra_objects/add_mesh_supertoroid.py index 0be6a89b4..73af675cf 100644 --- a/add_mesh_extra_objects/add_mesh_supertoroid.py +++ b/add_mesh_extra_objects/add_mesh_supertoroid.py @@ -1,14 +1,14 @@ ''' bl_addon_info = { - 'name': 'Add Mesh: SuperToroid', - 'author': 'DreamPainter', - 'version': '1', - 'blender': (2, 5, 3), - 'location': 'View3D > Add > Mesh > SuperToroid', - 'description': 'Add a SuperToroid mesh', - 'url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \ - 'Scripts/Add_Mesh/', # no url - 'category': 'Add Mesh'} + "name": "Add Mesh: SuperToroid", + "author": "DreamPainter", + "version": (1, 0, 0), + "blender": (2, 5, 3), + "location": "View3D > Add > Mesh > SuperToroid", + "description": "Add a SuperToroid mesh", + "url": "http://wiki.blender.org/index.php/Extensions:2.5/Py/" \ + "Scripts/Add_Mesh/", # no url + "category": "Add Mesh"} ''' import bpy from bpy.props import FloatProperty,BoolProperty,IntProperty diff --git a/io_anim_acclaim/__init__.py b/io_anim_acclaim/__init__.py index be8ce5b6b..b19b66568 100644 --- a/io_anim_acclaim/__init__.py +++ b/io_anim_acclaim/__init__.py @@ -23,17 +23,17 @@ bl_info = { - 'name': "Acclaim Motion Capture Files (.asf, .amc)", - 'author': "Daniel Monteiro Basso <daniel@basso.inf.br>", - 'version': (2012, 2, 29, 1), - 'blender': (2, 6, 2), - 'location': "File > Import-Export", - 'description': "Imports Acclaim Skeleton and Motion Capture Files", - 'wiki_url': "http://wiki.blender.org/index.php/Extensions:2.6/Py/" + "name": "Acclaim Motion Capture Files (.asf, .amc)", + "author": "Daniel Monteiro Basso <daniel@basso.inf.br>", + "version": (2012, 2, 29, 1), + "blender": (2, 6, 2), + "location": "File > Import-Export", + "description": "Imports Acclaim Skeleton and Motion Capture Files", + "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.6/Py/" "Scripts/Import-Export/Acclaim_Importer", - 'tracker_url': "http://projects.blender.org/tracker/index.php?" + "tracker_url": "http://projects.blender.org/tracker/index.php?" "func=detail&aid=27127&group_id=153&atid=467", - 'category': 'Import-Export'} + "category": "Import-Export"} import re diff --git a/io_anim_c3d/__init__.py b/io_anim_c3d/__init__.py index 8741c2527..1c5922e86 100644 --- a/io_anim_c3d/__init__.py +++ b/io_anim_c3d/__init__.py @@ -23,17 +23,17 @@ bl_info = { - 'name': "C3D Graphics Lab Motion Capture file (.c3d)", - 'author': "Daniel Monteiro Basso <daniel@basso.inf.br>", - 'version': (2012, 7, 11, 1), - 'blender': (2, 6, 3), - 'location': "File > Import", - 'description': "Imports C3D Graphics Lab Motion Capture files", - 'wiki_url': "http://wiki.blender.org/index.php/Extensions:2.6/Py/" + "name": "C3D Graphics Lab Motion Capture file (.c3d)", + "author": "Daniel Monteiro Basso <daniel@basso.inf.br>", + "version": (2012, 7, 11, 1), + "blender": (2, 6, 3), + "location": "File > Import", + "description": "Imports C3D Graphics Lab Motion Capture files", + "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.6/Py/" "Scripts/Import-Export/C3D_Importer", - 'tracker_url': "http://projects.blender.org/tracker/?func=detail&atid=467" + "tracker_url": "http://projects.blender.org/tracker/?func=detail&atid=467" "&aid=29061&group_id=153", - 'category': 'Import-Export'} + "category": 'Import-Export'} import bpy diff --git a/io_export_after_effects.py b/io_export_after_effects.py index a71348a3c..bfeee152c 100644 --- a/io_export_after_effects.py +++ b/io_export_after_effects.py @@ -19,18 +19,18 @@ # <pep8 compliant> bl_info = { - 'name': 'Export: Adobe After Effects (.jsx)', - 'description': 'Export cameras, selected objects & camera solution 3D Markers to Adobe After Effects CS3 and above', - 'author': 'Bartek Skorupa', - 'version': (0, 6, 3), - 'blender': (2, 6, 2), - 'location': 'File > Export > Adobe After Effects (.jsx)', + "name": "Export: Adobe After Effects (.jsx)", + "description": "Export cameras, selected objects & camera solution 3D Markers to Adobe After Effects CS3 and above", + "author": "Bartek Skorupa", + "version": (0, 6, 3), + "blender": (2, 6, 2), + "location": "File > Export > Adobe After Effects (.jsx)", "warning": "", "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.6/Py/"\ "Scripts/Import-Export/Adobe_After_Effects", "tracker_url": "https://projects.blender.org/tracker/index.php?"\ "func=detail&aid=29858", - 'category': 'Import-Export', + "category": "Import-Export", } diff --git a/io_import_scene_dxf.py b/io_import_scene_dxf.py index f0cc671e2..2547a49c5 100644 --- a/io_import_scene_dxf.py +++ b/io_import_scene_dxf.py @@ -17,19 +17,19 @@ # ##### END GPL LICENSE BLOCK ##### bl_info = { - 'name': 'Import Autocad DXF Format (.dxf)', - 'author': 'Thomas Larsson, Remigiusz Fiedler', - 'version': (0, 1, 6), - 'blender': (2, 6, 3), - 'location': 'File > Import > Autocad (.dxf)', - 'description': 'Import files in the Autocad DXF format (.dxf)', - 'warning': 'Under construction! Visit Wiki for details.', - 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.6/Py/'\ - 'Scripts/Import-Export/DXF_Importer', - 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\ - 'func=detail&aid=23480', - 'support': 'OFFICIAL', - 'category': 'Import-Export', + "name": "Import Autocad DXF Format (.dxf)", + "author": "Thomas Larsson, Remigiusz Fiedler", + "version": (0, 1, 6), + "blender": (2, 6, 3), + "location": "File > Import > Autocad (.dxf)", + "description": "Import files in the Autocad DXF format (.dxf)", + "warning": "Under construction! Visit Wiki for details.", + "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.6/Py/" + "Scripts/Import-Export/DXF_Importer", + "tracker_url": "https://projects.blender.org/tracker/index.php?" + "func=detail&aid=23480", + "support": "OFFICIAL", + "category": "Import-Export", } """ diff --git a/io_scene_obj/import_obj.py b/io_scene_obj/import_obj.py index 3a85af263..f9d754314 100644 --- a/io_scene_obj/import_obj.py +++ b/io_scene_obj/import_obj.py @@ -1171,15 +1171,3 @@ def load(operator, context, filepath, print("finished importing: %r in %.4f sec." % (filepath, (time_new - time_main))) return {'FINISHED'} - - -# NOTES (all line numbers refer to 2.4x import_obj.py, not this file) -# check later: line 489 -# can convert now: edge flags, edges: lines 508-528 -# ngon (uses python module BPyMesh): 384-414 -# NEXT clamp size: get bound box with RNA -# get back to l 140 (here) -# search image in bpy.config.textureDir - load_image -# replaced BPyImage.comprehensiveImageLoad with a simplified version that only checks additional directory specified, but doesn't search dirs recursively (obj_image_load) -# bitmask won't work? - 132 -# uses bpy.sys.time() diff --git a/light_field_tools/__init__.py b/light_field_tools/__init__.py index cabdd35eb..0c47b7aec 100644 --- a/light_field_tools/__init__.py +++ b/light_field_tools/__init__.py @@ -18,16 +18,16 @@ bl_info = { - 'name': 'Light Field Tools', - 'author': 'Aurel Wildfellner', - 'description': 'Tools to create a light field camera and projector', - 'version': (0, 3, 0), - 'blender': (2, 6, 4), - 'location': 'View3D > Tool Shelf > Light Field Tools', - 'url': 'http://www.jku.at/cg/', + "name": "Light Field Tools", + "author": "Aurel Wildfellner", + "description": "Tools to create a light field camera and projector", + "version": (0, 3, 0), + "blender": (2, 6, 4), + "location": "View3D > Tool Shelf > Light Field Tools", + "url": "http://www.jku.at/cg/", "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Render/Light_Field_Tools", "tracker_url": "http://projects.blender.org/tracker/index.php?func=detail&aid=25719", - 'category': 'Render' + "category": "Render" } diff --git a/mesh_looptools.py b/mesh_looptools.py index 81f972cf5..5b0a6e636 100644 --- a/mesh_looptools.py +++ b/mesh_looptools.py @@ -17,18 +17,18 @@ # ##### END GPL LICENSE BLOCK ##### bl_info = { - 'name': "LoopTools", - 'author': "Bart Crouch", - 'version': (4, 2, 0), - 'blender': (2, 6, 3), - 'location': "View3D > Toolbar and View3D > Specials (W-key)", - 'warning': "", - 'description': "Mesh modelling toolkit. Several tools to aid modelling", - 'wiki_url': "http://wiki.blender.org/index.php/Extensions:2.6/Py/"\ - "Scripts/Modeling/LoopTools", - 'tracker_url': "http://projects.blender.org/tracker/index.php?"\ - "func=detail&aid=26189", - 'category': 'Mesh'} + "name": "LoopTools", + "author": "Bart Crouch", + "version": (4, 2, 0), + "blender": (2, 6, 3), + "location": "View3D > Toolbar and View3D > Specials (W-key)", + "warning": "", + "description": "Mesh modelling toolkit. Several tools to aid modelling", + "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.6/Py/" + "Scripts/Modeling/LoopTools", + "tracker_url": "http://projects.blender.org/tracker/index.php?" + "func=detail&aid=26189", + "category": "Mesh"} import bmesh diff --git a/space_view3d_copy_attributes.py b/space_view3d_copy_attributes.py index ecc12b922..bd8f70a64 100644 --- a/space_view3d_copy_attributes.py +++ b/space_view3d_copy_attributes.py @@ -19,17 +19,17 @@ # <pep8 compliant> bl_info = { - 'name': 'Copy Attributes Menu', - 'author': 'Bassam Kurdali, Fabian Fricke, Adam Wiseman', - 'version': (0, 4, 7), - 'blender': (2, 6, 3), - 'location': 'View3D > Ctrl-C', - 'description': 'Copy Attributes Menu from Blender 2.4', - 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.6/Py/' - 'Scripts/3D_interaction/Copy_Attributes_Menu', - 'tracker_url': 'https://projects.blender.org/tracker/index.php?' - 'func=detail&aid=22588', - 'category': '3D View'} + "name": "Copy Attributes Menu", + "author": "Bassam Kurdali, Fabian Fricke, Adam Wiseman", + "version": (0, 4, 7), + "blender": (2, 6, 3), + "location": "View3D > Ctrl-C", + "description": "Copy Attributes Menu from Blender 2.4", + "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.6/Py/" + "Scripts/3D_interaction/Copy_Attributes_Menu", + "tracker_url": "https://projects.blender.org/tracker/index.php?" + "func=detail&aid=22588", + "category": "3D View"} import bpy from mathutils import Matrix diff --git a/space_view3d_screencast_keys.py b/space_view3d_screencast_keys.py index 09989e731..88fd191ef 100644 --- a/space_view3d_screencast_keys.py +++ b/space_view3d_screencast_keys.py @@ -19,19 +19,19 @@ # <pep8 compliant> bl_info = { - 'name': "Screencast Keys", - 'author': 'Paulo Gomes, Bart Crouch, John E. Herrenyo, Gaia Clary, Pablo Vazquez', - 'version': (1, 7), - 'blender': (2, 6, 4), - 'location': '3D View > Properties Panel > Screencast Keys', - 'warning': '', - 'description': 'Display keys pressed in the 3D View, '\ - 'useful for screencasts.', - 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.6/' - 'Py/Scripts/3D_interaction/Screencast_Key_Status_Tool', - 'tracker_url': 'http://projects.blender.org/tracker/index.php?' - 'func=detail&aid=21612', - 'category': '3D View'} + "name": "Screencast Keys", + "author": "Paulo Gomes, Bart Crouch, John E. Herrenyo, Gaia Clary, Pablo Vazquez", + "version": (1, 7), + "blender": (2, 6, 4), + "location": "3D View > Properties Panel > Screencast Keys", + "warning": "", + "description": "Display keys pressed in the 3D View, " + "useful for screencasts.", + "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.6/" + "Py/Scripts/3D_interaction/Screencast_Key_Status_Tool", + "tracker_url": "http://projects.blender.org/tracker/index.php?" + "func=detail&aid=21612", + "category": "3D View"} import bgl import blf -- GitLab