[Checkins] SVN: zope.globalrequest/trunk/ create initial package structure

Andreas Zeidler az at zitc.de
Thu Jan 15 09:43:20 EST 2009


Log message for revision 94745:
  create initial package structure

Changed:
  A   zope.globalrequest/trunk/CHANGES.txt
  A   zope.globalrequest/trunk/README.txt
  A   zope.globalrequest/trunk/setup.py
  A   zope.globalrequest/trunk/src/
  A   zope.globalrequest/trunk/src/zope/
  A   zope.globalrequest/trunk/src/zope/__init__.py
  A   zope.globalrequest/trunk/src/zope/globalrequest/
  A   zope.globalrequest/trunk/src/zope/globalrequest/__init__.py

-=-
Added: zope.globalrequest/trunk/CHANGES.txt
===================================================================
--- zope.globalrequest/trunk/CHANGES.txt	                        (rev 0)
+++ zope.globalrequest/trunk/CHANGES.txt	2009-01-15 14:43:19 UTC (rev 94745)
@@ -0,0 +1,9 @@
+Changelog
+=========
+
+1.0a1 - Unreleased
+------------------
+
+* Initial release
+  [witsch]
+

Added: zope.globalrequest/trunk/README.txt
===================================================================
--- zope.globalrequest/trunk/README.txt	                        (rev 0)
+++ zope.globalrequest/trunk/README.txt	2009-01-15 14:43:19 UTC (rev 94745)
@@ -0,0 +1,9 @@
+zope.globalrequest
+==================
+
+Introduction
+------------
+
+This package provides a global way to retrieve the currently active request
+object in a zope-based web framework.
+

Added: zope.globalrequest/trunk/setup.py
===================================================================
--- zope.globalrequest/trunk/setup.py	                        (rev 0)
+++ zope.globalrequest/trunk/setup.py	2009-01-15 14:43:19 UTC (rev 94745)
@@ -0,0 +1,39 @@
+from setuptools import setup, find_packages
+
+version = '1.0a1'
+readme = open('README.txt').read()
+history = open('CHANGES.txt').read()
+
+setup(name = 'zope.globalrequest',
+      version = version,
+      description = 'Global way of retrieving the currently active request.',
+      long_description = readme[readme.find('\n\n'):] + '\n' + history,
+      classifiers = [
+        'Development Status :: 3 - Alpha',
+        'Environment :: Web Environment',
+        'Intended Audience :: Developers',
+        'Intended Audience :: System Administrators',
+        'Intended Audience :: Other Audience',
+        'License :: OSI Approved :: Zope Public License',
+        'Operating System :: OS Independent',
+        'Programming Language :: Python',
+        'Topic :: Software Development :: Libraries :: Python Modules',
+      ],
+      keywords = 'zope request global',
+      author = 'Andreas Zeidler',
+      author_email = 'az at zitc.de',
+      url = 'http://pypi.python.org/pypi/zope.globalrequest',
+      license = 'ZPL',
+      packages = find_packages('src'),
+      package_dir = {'': 'src'},
+      namespace_packages = ['zope'],
+      include_package_data = True,
+      platforms = 'Any',
+      zip_safe = False,
+      install_requires = [
+          'setuptools',
+      ],
+      tests_require = [
+      ],
+      entry_points = '',
+)

Added: zope.globalrequest/trunk/src/zope/__init__.py
===================================================================
--- zope.globalrequest/trunk/src/zope/__init__.py	                        (rev 0)
+++ zope.globalrequest/trunk/src/zope/__init__.py	2009-01-15 14:43:19 UTC (rev 94745)
@@ -0,0 +1,7 @@
+# See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages
+try:
+    __import__('pkg_resources').declare_namespace(__name__)
+except ImportError:
+    from pkgutil import extend_path
+    __path__ = locals()['__path__'] # make pyflakes happy...
+    __path__ = extend_path(__path__, __name__)

Added: zope.globalrequest/trunk/src/zope/globalrequest/__init__.py
===================================================================
--- zope.globalrequest/trunk/src/zope/globalrequest/__init__.py	                        (rev 0)
+++ zope.globalrequest/trunk/src/zope/globalrequest/__init__.py	2009-01-15 14:43:19 UTC (rev 94745)
@@ -0,0 +1 @@
+# the existance of __init__.py make this a module...



More information about the Checkins mailing list