[Checkins] SVN: zope.introspectorui/trunk/ Basic code files.
Lennart Regebro
regebro at gmail.com
Tue Jul 22 05:09:08 EDT 2008
Log message for revision 88666:
Basic code files.
Changed:
A zope.introspectorui/trunk/CHANGES.txt
A zope.introspectorui/trunk/README.txt
A zope.introspectorui/trunk/buildout.cfg
A zope.introspectorui/trunk/setup.py
A zope.introspectorui/trunk/src/
A zope.introspectorui/trunk/src/zope/
A zope.introspectorui/trunk/src/zope/__init__.py
A zope.introspectorui/trunk/src/zope/introspectorui/
A zope.introspectorui/trunk/src/zope/introspectorui/__init__.py
A zope.introspectorui/trunk/zope.introspectorui.wpr
-=-
Added: zope.introspectorui/trunk/CHANGES.txt
===================================================================
--- zope.introspectorui/trunk/CHANGES.txt (rev 0)
+++ zope.introspectorui/trunk/CHANGES.txt 2008-07-22 09:09:07 UTC (rev 88666)
@@ -0,0 +1,10 @@
+CHANGES
+*******
+
+0.1 (unreleased)
+================
+
+Feature changes
+---------------
+
+* Initial Release
Property changes on: zope.introspectorui/trunk/CHANGES.txt
___________________________________________________________________
Name: svn:keywords
+ Id
Added: zope.introspectorui/trunk/README.txt
===================================================================
--- zope.introspectorui/trunk/README.txt (rev 0)
+++ zope.introspectorui/trunk/README.txt 2008-07-22 09:09:07 UTC (rev 88666)
@@ -0,0 +1,43 @@
+zope.introspectorui
+*******************
+
+What is zope.introspectorui?
+==========================
+
+`zope.introspectorui` is a set of views for the information objects provided
+by zope.introspector.
+
+Installing zope.introspectorui
+==============================
+
+`zope.introspectorui` is provided as an Python egg on cheeseshop and set
+up via `zc.buildout`_
+
+.. _zc.buildout: http://cheeseshop.python.org/pypi/zc.buildout
+
+You may have setuptools already installed for your system Python. In
+that case, you may need to upgrade it first because buildout requires
+a very recent version::
+
+ $ sudo easy_install -U setuptools
+
+If this command fails because easy_install is not available, there is
+a good chance you do not have setuptools available for your system
+Python. If so, there is no problem because setuptools will be
+installed locally by buildout.
+
+Because `zope.introspectorui` is a developer tool, you normally use it
+by including the package the `setup.py` file of your own
+package. There will most probably a section called `install_requires`
+where you add 'zope.introspector' like this::
+
+ ...
+ install_requires=['setuptools',
+ # Add extra requirements here
+ 'zope.introspectorui',
+ ...
+ ],
+
+In `zc.buildout` based package setups you can 'activate' usage of
+`zope.introspectorui` afterwards simply by (re)running `bin/buildout`.
+
Property changes on: zope.introspectorui/trunk/README.txt
___________________________________________________________________
Name: svn:keywords
+ Id
Added: zope.introspectorui/trunk/buildout.cfg
===================================================================
--- zope.introspectorui/trunk/buildout.cfg (rev 0)
+++ zope.introspectorui/trunk/buildout.cfg 2008-07-22 09:09:07 UTC (rev 88666)
@@ -0,0 +1,7 @@
+[buildout]
+develop = .
+parts = test
+
+[test]
+recipe = zc.recipe.testrunner
+eggs = zope.introspectorui [test]
Added: zope.introspectorui/trunk/setup.py
===================================================================
--- zope.introspectorui/trunk/setup.py (rev 0)
+++ zope.introspectorui/trunk/setup.py 2008-07-22 09:09:07 UTC (rev 88666)
@@ -0,0 +1,78 @@
+##############################################################################
+#
+# Copyright (c) 2008 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Setup for zope.introspector package
+
+$Id$
+"""
+import os
+from setuptools import setup, find_packages
+
+def read(*rnames):
+ return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+
+version = '0.1'
+name='zope.introspectorui'
+
+long_description = (
+ read('README.txt')
+ + '\n' +
+ read('CHANGES.txt')
+ )
+
+setup(name=name,
+ version=version,
+ description="Views for the info objects from zope.introspector.",
+ long_description=long_description,
+ # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
+ classifiers=[
+ 'Development Status :: 1 - Planning',
+ 'Environment :: Web Environment',
+ 'Intended Audience :: Developers',
+ 'License :: OSI Approved :: Zope Public License',
+ 'Programming Language :: Python',
+ 'Natural Language :: English',
+ 'Operating System :: OS Independent',
+ 'Topic :: Internet :: WWW/HTTP',
+ 'Framework :: Zope3',
+ ],
+ keywords="zope zope2 zope3 web introspection introspector",
+ author="Zope Corporation and Contributors",
+ author_email="zope3-dev at zope.org",
+ url='http://pypi.python.org/pypi/'+name,
+ license="ZPL 2.1",
+ package_dir={'': 'src'},
+ packages=find_packages('src'),
+ namespace_packages = ['zope'],
+ include_package_data=True,
+ zip_safe=False,
+ install_requires=['setuptools',
+ 'grokcore.component',
+ 'grokcore.view',
+ 'zope.interface',
+ 'zope.component',
+ 'zope.introspector',
+ 'zope.publisher',
+ 'martian',
+ ],
+ extras_require = dict(
+ test=['zope.app.testing',
+ 'zope.testing',
+ 'z3c.testsetup',
+ 'zope.securitypolicy',
+ ]
+ ),
+ entry_points="""
+ # Add entry points here
+ """,
+ )
Property changes on: zope.introspectorui/trunk/setup.py
___________________________________________________________________
Name: svn:keywords
+ Id
Added: zope.introspectorui/trunk/src/zope/__init__.py
===================================================================
--- zope.introspectorui/trunk/src/zope/__init__.py (rev 0)
+++ zope.introspectorui/trunk/src/zope/__init__.py 2008-07-22 09:09:07 UTC (rev 88666)
@@ -0,0 +1,7 @@
+# namespace package boilerplate
+try:
+ import pkg_resources
+ pkg_resources.declare_namespace(__name__)
+except ImportError, e:
+ from pkgutil import extend_path
+ __path__ = extend_path(__path__, __name__)
Property changes on: zope.introspectorui/trunk/src/zope/__init__.py
___________________________________________________________________
Name: svn:keywords
+ Id
Added: zope.introspectorui/trunk/src/zope/introspectorui/__init__.py
===================================================================
Property changes on: zope.introspectorui/trunk/src/zope/introspectorui/__init__.py
___________________________________________________________________
Name: svn:keywords
+ Id
Added: zope.introspectorui/trunk/zope.introspectorui.wpr
===================================================================
--- zope.introspectorui/trunk/zope.introspectorui.wpr (rev 0)
+++ zope.introspectorui/trunk/zope.introspectorui.wpr 2008-07-22 09:09:07 UTC (rev 88666)
@@ -0,0 +1,347 @@
+#!wing
+#!version=3.0
+##################################################################
+# Wing IDE project file #
+##################################################################
+[project attributes]
+proj.file-type = 'normal'
+[user attributes]
+guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
+ 'windows': [{'name': 'mIPqQAb3pDw9cSRvDTOKhfuvrR'\
+ 'sUgtW1',
+ 'size-state': 'maximized',
+ 'type': 'dock',
+ 'view': {'area': 'tall',
+ 'current_pages': [0,
+ 0],
+ 'notebook_display': 'normal',
+ 'notebook_percent': 0.25,
+ 'override_title': None,
+ 'pagelist': [('project',
+ 'tall',
+ 0,
+ {'tree-state': {'file-sort-method': 'by name',
+ 'list-files-first': 0,
+ 'tree-states': {'deep': {'column-widths': [1.0],
+ 'expanded-nodes': [],
+ 'selected-nodes': [],
+ 'top-node': (0,)}},
+ 'tree-style': 'deep'}}),
+ ('interactive-search',
+ 'tall',
+ 1,
+ {'fScope': {'fFileSetName': u'All Source Files',
+ 'fLocation': None,
+ 'fRecursive': True,
+ 'fType': 'current-file'},
+ 'fSearchSpec': {'fEndPos': None,
+ 'fIncludeLinenos': True,
+ 'fInterpretBackslashes': False,
+ 'fMatchCase': False,
+ 'fOmitBinary': True,
+ 'fRegexFlags': 46,
+ 'fReplaceText': u'fitta',
+ 'fReverse': False,
+ 'fSearchText': u'getUtility',
+ 'fStartPos': 0,
+ 'fStyle': 'text',
+ 'fWholeWords': False,
+ 'fWrap': True},
+ 'fUIOptions': {'fAutoBackground': True,
+ 'fFilePrefix': 'short-file',
+ 'fFindAfterReplace': True,
+ 'fInSelection': False,
+ 'fIncremental': True,
+ 'fReplaceOnDisk': False,
+ 'fShowFirstMatch': False,
+ 'fShowLineno': True,
+ 'fShowReplaceWidgets': False},
+ 'replace-entry-expanded': False,
+ 'search-entry-expanded': False}),
+ ('batch-search',
+ 'tall',
+ 1,
+ {'fScope': {'fFileSetName': '',
+ 'fLocation': None,
+ 'fRecursive': 1,
+ 'fType': 'project-files'},
+ 'fSearchSpec': {'fEndPos': None,
+ 'fIncludeLinenos': 1,
+ 'fInterpretBackslashes': 0,
+ 'fMatchCase': 0,
+ 'fOmitBinary': 1,
+ 'fRegexFlags': 46,
+ 'fReplaceText': '',
+ 'fReverse': 0,
+ 'fSearchText': u'instr',
+ 'fStartPos': 0,
+ 'fStyle': 'text',
+ 'fWholeWords': 0,
+ 'fWrap': 1},
+ 'fUIOptions': {'fAutoBackground': 1,
+ 'fFilePrefix': 'short-file',
+ 'fFindAfterReplace': 1,
+ 'fInSelection': 0,
+ 'fIncremental': 1,
+ 'fReplaceOnDisk': 0,
+ 'fShowFirstMatch': 0,
+ 'fShowLineno': 1,
+ 'fShowReplaceWidgets': 0},
+ 'replace-entry-expanded': 0,
+ 'search-entry-expanded': 0}),
+ ('source-assistant',
+ 'tall',
+ 2,
+ {'docstring-during-complete': 0,
+ 'wrap-lines': 1}),
+ ('browser',
+ 'tall',
+ 0,
+ None)],
+ 'primary_view_state': {'area': 'wide',
+ 'current_pages': [2],
+ 'notebook_display': 'tabs only',
+ 'notebook_percent': 0.39767779390420899,
+ 'override_title': None,
+ 'pagelist': [('debug-io',
+ 'wide',
+ 1,
+ {'attrib-starts': [],
+ 'first-line': 0,
+ 'history': {},
+ 'sel-line': 0,
+ 'sel-line-start': 0,
+ 'selection_end': 0,
+ 'selection_start': 0}),
+ ('debug-probe',
+ 'wide',
+ 2,
+ {'attrib-starts': [],
+ 'first-line': 0,
+ 'history': {None: ['path\n',
+ 'name\n',
+ 'obj\n',
+ 'sd\n',
+ 'SKINDATA\n']},
+ 'sel-line': 0,
+ 'sel-line-start': 0,
+ 'selection_end': 4,
+ 'selection_start': 4}),
+ ('debug-exceptions',
+ 'wide',
+ 0,
+ {}),
+ ('debug-modules',
+ 'wide',
+ 1,
+ None),
+ ('python-shell',
+ 'wide',
+ 2,
+ {'first-line': 0,
+ 'selection_end': 175,
+ 'selection_start': 175}),
+ ('debug-data',
+ 'wide',
+ 0,
+ {}),
+ ('debug-watch',
+ 'wide',
+ 1,
+ {'node-states': [('eval',
+ 'self'),
+ ('eval',
+ 'x')],
+ 'tree-state': {'column-widths': [0.40748898678414097,
+ 0.59251101321585908],
+ 'expanded-nodes': [],
+ 'selected-nodes': [],
+ 'top-node': (0,)}})],
+ 'primary_view_state': {'editor_states': {'bookmarks': ([(loc('../grokui.introspector/src/grokui/introspector/code.py'),
+ {'attrib-starts': [],
+ 'first-line': 0,
+ 'sel-line': 20,
+ 'sel-line-start': 909,
+ 'selection_end': 925,
+ 'selection_start': 925},
+ 1216716743.940722),
+ [loc('../grokui.introspector/src/grokui/introspector/interfaces.py'),
+ {'attrib-starts': [],
+ 'first-line': 0,
+ 'sel-line': 0,
+ 'sel-line-start': 0,
+ 'selection_end': 0,
+ 'selection_start': 0},
+ 1216716745.442194],
+ (loc('../grokui.introspector/src/grokui/introspector/code.py'),
+ {'attrib-starts': [],
+ 'first-line': 0,
+ 'sel-line': 16,
+ 'sel-line-start': 676,
+ 'selection_end': 729,
+ 'selection_start': 729},
+ 1216716746.6596601),
+ [loc('../../../opt/buildout/eggs/zope.component-3.4.0-py2.4.egg/zope/component/globalregistry.py'),
+ {'attrib-starts': [],
+ 'first-line': 0,
+ 'sel-line': 0,
+ 'sel-line-start': 0,
+ 'selection_end': 0,
+ 'selection_start': 0},
+ 1216716760.4251151],
+ (loc('../grokui.introspector/src/grokui/introspector/code.py'),
+ {'attrib-starts': [],
+ 'first-line': 0,
+ 'sel-line': 16,
+ 'sel-line-start': 676,
+ 'selection_end': 718,
+ 'selection_start': 718},
+ 1216716761.8791449),
+ (loc('../../../opt/buildout/eggs/zope.component-3.4.0-py2.4.egg/zope/component/globalregistry.py'),
+ {'attrib-starts': [],
+ 'first-line': 30,
+ 'sel-line': 0,
+ 'sel-line-start': 0,
+ 'selection_end': 0,
+ 'selection_start': 0},
+ 1216716765.745708),
+ (loc('../grokui.introspector/src/grokui/introspector/code.py'),
+ {'attrib-starts': [],
+ 'first-line': 0,
+ 'sel-line': 16,
+ 'sel-line-start': 676,
+ 'selection_end': 718,
+ 'selection_start': 718},
+ 1216716771.7919321),
+ (loc('../../../opt/buildout/eggs/zope.component-3.4.0-py2.4.egg/zope/component/globalregistry.py'),
+ {'attrib-starts': [('GlobalAdapterRegistry',
+ 27),
+ ('GlobalAdapterRegistry.__reduce__',
+ 38)],
+ 'first-line': 69,
+ 'sel-line': 42,
+ 'sel-line-start': 1625,
+ 'selection_end': 1626,
+ 'selection_start': 1626},
+ 1216716772.9360559),
+ (loc('../../../opt/buildout/eggs/zope.component-3.4.0-py2.4.egg/zope/component/globalregistry.py'),
+ {'attrib-starts': [('getGlobalSiteManager',
+ 149)],
+ 'first-line': 134,
+ 'sel-line': 149,
+ 'sel-line-start': 5651,
+ 'selection_end': 5658,
+ 'selection_start': 5652},
+ 1216716779.5381131),
+ (loc('../../../opt/buildout/eggs/zope.component-3.4.0-py2.4.egg/zope/component/globalregistry.py'),
+ {'attrib-starts': [('getGlobalSiteManager',
+ 149)],
+ 'first-line': 134,
+ 'sel-line': 149,
+ 'sel-line-start': 5651,
+ 'selection_end': 5658,
+ 'selection_start': 5651},
+ 1216716780.5173211),
+ [loc('../../../opt/buildout/eggs/zope.component-3.4.0-py2.4.egg/zope/component/globalregistry.py'),
+ {'attrib-starts': [('getGlobalSiteManager',
+ 149)],
+ 'first-line': 134,
+ 'sel-line': 149,
+ 'sel-line-start': 5651,
+ 'selection_end': 5658,
+ 'selection_start': 5651},
+ 1216716782.540333],
+ (loc('../grokui.introspector/src/grokui/introspector/code.py'),
+ {'attrib-starts': [],
+ 'first-line': 0,
+ 'sel-line': 16,
+ 'sel-line-start': 676,
+ 'selection_end': 718,
+ 'selection_start': 718},
+ 1216716803.2035699),
+ [loc('../grokui.introspector/src/grokui/introspector/util.py'),
+ {'attrib-starts': [('dotted_name_url',
+ 17)],
+ 'first-line': 0,
+ 'sel-line': 17,
+ 'sel-line-start': 724,
+ 'selection_end': 743,
+ 'selection_start': 728},
+ 1216716805.0378821],
+ (loc('../grokui.introspector/src/grokui/introspector/code.py'),
+ {'attrib-starts': [],
+ 'first-line': 0,
+ 'sel-line': 16,
+ 'sel-line-start': 676,
+ 'selection_end': 713,
+ 'selection_start': 703},
+ 1216716806.1367791),
+ (loc('../grokui.introspector/src/grokui/introspector/code.py'),
+ {'attrib-starts': [('DottedPathTraverser',
+ 62),
+ ('DottedPathTraverser.traverse',
+ 65)],
+ 'first-line': 52,
+ 'sel-line': 67,
+ 'sel-line-start': 2423,
+ 'selection_end': 2452,
+ 'selection_start': 2442},
+ 1216716812.809356),
+ (loc('../grokui.introspector/src/grokui/introspector/code.py'),
+ {'attrib-starts': [],
+ 'first-line': 11,
+ 'sel-line': 25,
+ 'sel-line-start': 1105,
+ 'selection_end': 1105,
+ 'selection_start': 1105},
+ 1216716815.008683),
+ [loc('../grokui.introspector/zope.introspector/src/zope/introspector/objectinfo.py'),
+ {'attrib-starts': [('ObjectInfo',
+ 23)],
+ 'first-line': 8,
+ 'sel-line': 23,
+ 'sel-line-start': 924,
+ 'selection_end': 940,
+ 'selection_start': 930},
+ 1216716827.832263],
+ (loc('../grokui.introspector/src/grokui/introspector/code.py'),
+ {'attrib-starts': [],
+ 'first-line': 11,
+ 'sel-line': 25,
+ 'sel-line-start': 1105,
+ 'selection_end': 1105,
+ 'selection_start': 1105},
+ 1216716829.0131991),
+ (loc('../grokui.introspector/src/grokui/introspector/code.py'),
+ {'attrib-starts': [],
+ 'first-line': 37,
+ 'sel-line': 25,
+ 'sel-line-start': 1105,
+ 'selection_end': 1105,
+ 'selection_start': 1105},
+ 1216716833.8402121),
+ [loc('../grokui.introspector/src/grokui/introspector/code.py'),
+ {'attrib-starts': [],
+ 'first-line': 37,
+ 'sel-line': 25,
+ 'sel-line-start': 1105,
+ 'selection_end': 1105,
+ 'selection_start': 1105},
+ 1216716863.833504]],
+ 19),
+ 'current-loc': None,
+ 'editor-states': {},
+ 'has-focus': False},
+ 'open_files': []},
+ 'split_percents': {0: 0.5},
+ 'splits': 1,
+ 'tab_location': 'top',
+ 'user_data': {}},
+ 'split_percents': {0: 0.5},
+ 'splits': 2,
+ 'tab_location': 'left',
+ 'user_data': {}},
+ 'window-alloc': (33,
+ 0,
+ 1237,
+ 710)}]}
More information about the Checkins
mailing list