[Checkins] SVN: zope.app/trunk/ Initial commit of zope.app for eggification.

Baiju M baiju.m.mail at gmail.com
Fri Jan 19 09:37:40 EST 2007


Log message for revision 72104:
  Initial commit of zope.app for eggification.
  

Changed:
  _U  zope.app/trunk/
  A   zope.app/trunk/CHANGES.txt
  A   zope.app/trunk/INSTALL.txt
  A   zope.app/trunk/README.txt
  A   zope.app/trunk/include/
  A   zope.app/trunk/setup.cfg.in
  A   zope.app/trunk/setup.py
  A   zope.app/trunk/src/
  A   zope.app/trunk/src/zope/
  A   zope.app/trunk/src/zope/__init__.py
  A   zope.app/trunk/src/zope/app/
  A   zope.app/trunk/src/zope/app/__init__.py
  A   zope.app/trunk/test.py

-=-

Property changes on: zope.app/trunk
___________________________________________________________________
Name: svn:ignore
   + bin
build
dist
lib
setup.cfg


Added: zope.app/trunk/CHANGES.txt
===================================================================
--- zope.app/trunk/CHANGES.txt	2007-01-19 14:01:04 UTC (rev 72103)
+++ zope.app/trunk/CHANGES.txt	2007-01-19 14:37:39 UTC (rev 72104)
@@ -0,0 +1 @@
+PACKAGENAME Package Changelog


Property changes on: zope.app/trunk/CHANGES.txt
___________________________________________________________________
Name: svn:eol-style
   + native

Added: zope.app/trunk/INSTALL.txt
===================================================================
--- zope.app/trunk/INSTALL.txt	2007-01-19 14:01:04 UTC (rev 72103)
+++ zope.app/trunk/INSTALL.txt	2007-01-19 14:37:39 UTC (rev 72104)
@@ -0,0 +1,80 @@
+Installing This Package
+=======================
+
+Prerequisites
+-------------
+
+The installation steps below assume that you have the cool new 'setuptools'
+package installed in your Python.  Here is where to get it:
+
+  $ wget http://peak.telecommunity.com/dist/ez_setup.py
+  $ /path/to/your/python ez_setup.py # req. write access to 'site-packages'
+
+  - Docs for EasyInstall:
+    http://peak.telecommunity.com/DevCenter/EasyInstall
+
+  - Docs for setuptools:
+    http://peak.telecommunity.com/DevCenter/setuptools
+
+  - Docs for eggs:
+    http://peak.telecommunity.com/DevCenter/PythonEggs
+
+
+Installing a Development Checkout
+---------------------------------
+
+Check out the package from subversion:
+
+  $ svn co svn+ssh://svn.zope.org/repos/main/zope.app/trunk \
+    src/zope.app
+  $ cd src/zope.app
+
+Install it as a "devlopment egg" (which also installs its "hard"
+dependencies):
+
+  $ /path/to/your/python setup.py devel
+
+The installation of dependency eggs uses the 'setup.cfg' file in
+the checkout.  You can supply '--find-links' on the command line to
+point it at a non-standard package repository.
+
+
+Running the Tests
+-----------------
+
+To test the package, you will also need the 'zope.testing' package, which
+can't (yet) be automatically installed.  Eventually, you should be able to
+type:
+
+  $ /path/to/your/python setup.py test
+
+and have it install the "testing dependencies."  Today, the workaround
+is to install it manually:
+
+  $ /path/to/easy_install --find-links="...." zope.testing
+
+You can then run the tests (finally) from the checkout directory:
+
+  $ /path/to/your/python test.py
+    Running:
+      .............
+    Ran 13 tests with 0 failures and 0 errors in 0.094 seconds.
+
+
+Installing a Source Distribution
+--------------------------------
+
+You can also install it from a source distribution:
+
+  $ /path/to/easy_install --find-links="...." -eb src zope.app
+  $ cd src/zope.app
+  $ /path/to/your/python setup.py devel
+
+
+Installing a Binary Egg
+-----------------------
+
+Install the package as a "binary egg" (which also installs its "hard"
+dependencies):
+
+  $ /path/to/easy_install --find-links="...." zope.app


Property changes on: zope.app/trunk/INSTALL.txt
___________________________________________________________________
Name: svn:eol-style
   + native

Added: zope.app/trunk/README.txt
===================================================================
--- zope.app/trunk/README.txt	2007-01-19 14:01:04 UTC (rev 72103)
+++ zope.app/trunk/README.txt	2007-01-19 14:37:39 UTC (rev 72104)
@@ -0,0 +1,35 @@
+zope.app Package Readme
+=======================
+
+Overview
+--------
+
+This package contains all packages under zope.app namespace except
+some very common packages which are eggified seperatly.
+
+Changes
+-------
+
+See CHANGES.txt.
+
+Installation
+------------
+
+See INSTALL.txt.
+
+
+Developer Resources
+-------------------
+
+- Subversion browser:
+
+  http://svn.zope.org/zope.app/
+
+- Read-only Subversion checkout:
+
+  $ svn co svn://svn.zope.org/repos/main/zope.app/trunk
+
+- Writable Subversion checkout:
+
+  $ svn co svn+ssh://userid@svn.zope.org/repos/main/zope.app/trunk
+


Property changes on: zope.app/trunk/README.txt
___________________________________________________________________
Name: svn:eol-style
   + native


Property changes on: zope.app/trunk/include
___________________________________________________________________
Name: svn:externals
   + persistent     -r 71248 svn://svn.zope.org/repos/main/ZODB/branches/3.7/src/persistent
zope.proxy              svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/proxy


Added: zope.app/trunk/setup.cfg.in
===================================================================
--- zope.app/trunk/setup.cfg.in	2007-01-19 14:01:04 UTC (rev 72103)
+++ zope.app/trunk/setup.cfg.in	2007-01-19 14:37:39 UTC (rev 72104)
@@ -0,0 +1,6 @@
+[development]
+depends = zope.testing
+
+[egg_info]
+tag_build = .dev
+tag_svn_revision = 1


Property changes on: zope.app/trunk/setup.cfg.in
___________________________________________________________________
Name: svn:eol-style
   + native

Added: zope.app/trunk/setup.py
===================================================================
--- zope.app/trunk/setup.py	2007-01-19 14:01:04 UTC (rev 72103)
+++ zope.app/trunk/setup.py	2007-01-19 14:37:39 UTC (rev 72104)
@@ -0,0 +1,89 @@
+##############################################################################
+#
+# Copyright (c) 2006 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.app package
+
+$Id$
+"""
+
+import os
+
+from setuptools import setup, Extension, find_packages
+
+setup(name='zope.app',
+      version='3.4-dev',
+      url='http://svn.zope.org/zope.app',
+      license='ZPL 2.1',
+      description='Zope zope.app',
+      author='Zope Corporation and Contributors',
+      author_email='zope3-dev at zope.org',
+      long_description="This package contains all packages under"
+                       "zope.app namespace except some very common"
+                       "packages which are eggified seperatly.",
+
+      packages=find_packages('src'),
+      package_dir = {'': 'src'},
+
+      ext_modules=[Extension("zope.app.container._zope_app_container_contained",
+                             [os.path.join("src", "zope", "app", "container",
+                                           "_zope_app_container_contained.c")
+                              ], include_dirs=['include']),
+                   ],
+
+      namespace_packages=['zope', 'zope.app',],
+      tests_require = ['zope.testing'],
+      install_requires=['ThreadedAsync',
+                        'ZODB',
+                        'persistent',
+                        'transaction',
+                        'zdaemon',
+                        'zodbcode',
+                        'zope.annotation',
+                        'zope.cachedescriptors',
+                        'zope.component',
+                        'zope.configuration',
+                        'zope.copypastemove',
+                        'zope.contenttype',
+                        'zope.datetime',
+                        'zope.decorator',
+                        'zope.deferredimport',
+                        'zope.deprecation',
+                        'zope.dottedname',
+                        'zope.dublincore',
+                        'zope.event',
+                        'zope.exceptions',
+                        'zope.filerepresentation',
+                        'zope.formlib',
+                        'zope.hookable',
+                        'zope.i18n',
+                        'zope.index',
+                        'zope.interface',
+                        'zope.lifecycleevent',
+                        'zope.location',
+                        'zope.modulealias',
+                        'zope.pagetemplate',
+                        'zope.proxy',
+                        'zope.publisher',
+                        'zope.schema',
+                        'zope.security',
+                        'zope.server',
+                        'zope.size',
+                        'zope.tal',
+                        'zope.tales',
+                        'zope.testbrowser',
+                        'zope.thread',
+                        'zope.traversing'],
+      include_package_data = True,
+
+      zip_safe = False,
+      )


Property changes on: zope.app/trunk/setup.py
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native


Property changes on: zope.app/trunk/src
___________________________________________________________________
Name: svn:ignore
   + zope.app.egg-info


Added: zope.app/trunk/src/zope/__init__.py
===================================================================
--- zope.app/trunk/src/zope/__init__.py	2007-01-19 14:01:04 UTC (rev 72103)
+++ zope.app/trunk/src/zope/__init__.py	2007-01-19 14:37:39 UTC (rev 72104)
@@ -0,0 +1,7 @@
+# this is a namespace package
+try:
+    import pkg_resources
+    pkg_resources.declare_namespace(__name__)
+except ImportError:
+    import pkgutil
+    __path__ = pkgutil.extend_path(__path__, __name__)


Property changes on: zope.app/trunk/src/zope/__init__.py
___________________________________________________________________
Name: svn:eol-style
   + native


Property changes on: zope.app/trunk/src/zope/app
___________________________________________________________________
Name: svn:externals
   + annotation          svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/annotation
apidoc              svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/apidoc
applicationcontrol  svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/applicationcontrol
appsetup            svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/appsetup
authentication      svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/authentication
basicskin           svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/basicskin
boston              svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/boston
broken              svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/broken
cache               svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/cache
catalog             svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/catalog
component           svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/component
container           svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/container
content             svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/content
content_types       svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/content_types
copypastemove       svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/copypastemove
css                 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/css
datetimeutils       svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/datetimeutils
dav                 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/dav
debug               svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/debug
debugskin           svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/debugskin
decorator           svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/decorator
demo                svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/demo
dependable          svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/dependable
dtmlpage            svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/dtmlpage
dublincore          svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/dublincore
error               svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/error
event               svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/event
exception           svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/exception
externaleditor      svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/externaleditor
file                svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/file
filerepresentation  svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/filerepresentation
folder              svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/folder
form                svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/form
fssync              svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/fssync
ftests              svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/ftests
ftp                 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/ftp
generations         svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/generations
homefolder          svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/homefolder
http                svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/http
i18n                svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/i18n
i18nfile            svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/i18nfile
interface           svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/interface
interpreter         svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/interpreter
intid               svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/intid
keyreference        svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/keyreference
layers              svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/layers
locales             svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/locales
location            svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/location
locking             svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/locking
mail                svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/mail
module              svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/module
onlinehelp          svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/onlinehelp
pagetemplate        svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/pagetemplate
pluggableauth       svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/pluggableauth
preference          svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/preference
preview             svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/preview
principalannotation svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/principalannotation
publication         svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/publication
publisher           svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/publisher
pythonpage          svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/pythonpage
rdb                 svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/rdb
recorder            svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/recorder
renderer            svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/renderer
rotterdam           svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/rotterdam
schema              svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/schema
schemacontent       svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/schemacontent
security            svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/security
securitypolicy      svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/securitypolicy
server              svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/server
servicenames        svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/servicenames
session             svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/session
site                svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/site
size                svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/size
skins               svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/skins
sqlexpr             svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/sqlexpr
sqlscript           svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/sqlscript
styleguide          svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/styleguide
testing             svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/testing
tests               svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/tests
timezones           svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/timezones
traversing          svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/traversing
tree                svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/tree
twisted             svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/twisted
undo                svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/undo
utility             svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/utility
versioncontrol      svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/versioncontrol
wfmc                svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/wfmc
winservice          svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/winservice
workflow            svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/workflow
wsgi                svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/wsgi
xmlrpcintrospection svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/xmlrpcintrospection
zapi                svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/zapi
zcmlfiles           svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/zcmlfiles
zopeappgenerations  svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/zopeappgenerations
zopetop             svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/zopetop
zptpage             svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/zptpage


Added: zope.app/trunk/src/zope/app/__init__.py
===================================================================
--- zope.app/trunk/src/zope/app/__init__.py	2007-01-19 14:01:04 UTC (rev 72103)
+++ zope.app/trunk/src/zope/app/__init__.py	2007-01-19 14:37:39 UTC (rev 72104)
@@ -0,0 +1,7 @@
+# this is a namespace package
+try:
+    import pkg_resources
+    pkg_resources.declare_namespace(__name__)
+except ImportError:
+    import pkgutil
+    __path__ = pkgutil.extend_path(__path__, __name__)


Property changes on: zope.app/trunk/src/zope/app/__init__.py
___________________________________________________________________
Name: svn:eol-style
   + native

Added: zope.app/trunk/test.py
===================================================================
--- zope.app/trunk/test.py	2007-01-19 14:01:04 UTC (rev 72103)
+++ zope.app/trunk/test.py	2007-01-19 14:37:39 UTC (rev 72104)
@@ -0,0 +1,40 @@
+#!/usr/bin/env python
+##############################################################################
+#
+# Copyright (c) 2006 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.0 (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.
+#
+##############################################################################
+"""Sample test script using zope.testing.testrunner
+
+see zope.testing testrunner.txt
+
+$Id$
+"""
+
+import os, sys
+
+here = os.path.abspath(os.path.dirname(sys.argv[0]))
+
+# Remove this directory from path:
+sys.path[:] = [p for p in sys.path if os.path.abspath(p) != here]
+
+src = os.path.join(here, 'src')
+sys.path.insert(0, src) # put at beginning to avoid one in site_packages
+
+from zope.testing import testrunner
+
+defaults = [
+    '--path', src,
+    '--tests-pattern', '^f?tests$',
+    ]
+
+sys.exit(testrunner.run(defaults))
+


Property changes on: zope.app/trunk/test.py
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native



More information about the Checkins mailing list