[Checkins] SVN: zope.app.annotation/trunk/ Get ready for release.

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Oct 11 00:26:35 EDT 2007


Log message for revision 80819:
  Get ready for release.
  

Changed:
  U   zope.app.annotation/trunk/CHANGES.txt
  D   zope.app.annotation/trunk/INSTALL.txt
  D   zope.app.annotation/trunk/MANIFEST.in
  U   zope.app.annotation/trunk/README.txt
  D   zope.app.annotation/trunk/setup.cfg.in
  U   zope.app.annotation/trunk/setup.py
  D   zope.app.annotation/trunk/test.py

-=-
Modified: zope.app.annotation/trunk/CHANGES.txt
===================================================================
--- zope.app.annotation/trunk/CHANGES.txt	2007-10-11 04:06:12 UTC (rev 80818)
+++ zope.app.annotation/trunk/CHANGES.txt	2007-10-11 04:26:35 UTC (rev 80819)
@@ -1,2 +1,8 @@
-zope.app.annotation Package Changelog
-=====================================
+=======
+CHANGES
+=======
+
+3.4.0 (2007-10-10)
+------------------
+
+- Initial release independent of the main Zope tree.

Deleted: zope.app.annotation/trunk/INSTALL.txt
===================================================================
--- zope.app.annotation/trunk/INSTALL.txt	2007-10-11 04:06:12 UTC (rev 80818)
+++ zope.app.annotation/trunk/INSTALL.txt	2007-10-11 04:26:35 UTC (rev 80819)
@@ -1,80 +0,0 @@
-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.annotation/trunk \
-    src/zope.app.annotation
-  $ cd src/zope.app.annotation
-
-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.annotation
-  $ cd src/zope.app.annotation
-  $ /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.annotation

Deleted: zope.app.annotation/trunk/MANIFEST.in
===================================================================
--- zope.app.annotation/trunk/MANIFEST.in	2007-10-11 04:06:12 UTC (rev 80818)
+++ zope.app.annotation/trunk/MANIFEST.in	2007-10-11 04:26:35 UTC (rev 80819)
@@ -1 +0,0 @@
-exclude setup.cfg

Modified: zope.app.annotation/trunk/README.txt
===================================================================
--- zope.app.annotation/trunk/README.txt	2007-10-11 04:06:12 UTC (rev 80818)
+++ zope.app.annotation/trunk/README.txt	2007-10-11 04:26:35 UTC (rev 80819)
@@ -1,34 +1 @@
-zope.app.annotation Package Readme
-==================================
-
-Overview
---------
-
 This module has moved to zope.annotation
-
-Changes
--------
-
-See CHANGES.txt.
-
-Installation
-------------
-
-See INSTALL.txt.
-
-
-Developer Resources
--------------------
-
-- Subversion browser:
-
-  http://svn.zope.org/zope.app.annotation/
-
-- Read-only Subversion checkout:
-
-  $ svn co svn://svn.zope.org/repos/main/zope.app.annotation/trunk
-
-- Writable Subversion checkout:
-
-  $ svn co svn+ssh://userid@svn.zope.org/repos/main/zope.app.annotation/trunk
-

Deleted: zope.app.annotation/trunk/setup.cfg.in
===================================================================
--- zope.app.annotation/trunk/setup.cfg.in	2007-10-11 04:06:12 UTC (rev 80818)
+++ zope.app.annotation/trunk/setup.cfg.in	2007-10-11 04:26:35 UTC (rev 80819)
@@ -1,6 +0,0 @@
-[development]
-depends = zope.testing
-
-[egg_info]
-tag_build = .dev
-tag_svn_revision = 1

Modified: zope.app.annotation/trunk/setup.py
===================================================================
--- zope.app.annotation/trunk/setup.py	2007-10-11 04:06:12 UTC (rev 80818)
+++ zope.app.annotation/trunk/setup.py	2007-10-11 04:26:35 UTC (rev 80819)
@@ -15,31 +15,42 @@
 
 $Id$
 """
-
 import os
+from setuptools import setup, find_packages
 
-try:
-    from setuptools import setup, Extension
-except ImportError, e:
-    from distutils.core import setup, Extension
+def read(*rnames):
+    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
 
 setup(name='zope.app.annotation',
-      version = '3.4.0b1',
-      url='http://svn.zope.org/zope.app.annotation',
-      license='ZPL 2.1',
-      description='Zope annotation',
+      version = '3.4.0',
       author='Zope Corporation and Contributors',
       author_email='zope3-dev at zope.org',
-      long_description="This is deprecated, use zope.annotation",
-
-      packages=['zope', 'zope.app.annotation'],
+      description='Zope Annotations',
+      long_description=(
+          read('README.txt')
+          + '\n\n' +
+          read('CHANGES.txt')
+          ),
+      keywords = "zope3 annotation",
+      classifiers = [
+          'Development Status :: 5 - Production/Stable',
+          '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'],
+      url='http://cheeseshop.python.org/pypi/zope.app.annotation',
+      license='ZPL 2.1',
+      packages=find_packages('src'),
       package_dir = {'': 'src'},
-
       namespace_packages=['zope', 'zope.app'],
-      tests_require = ['zope.testing'],
-      install_requires=['zope.interface',
-                        'zope.deprecation'],
+      install_requires=[
+          'zope.annotation',
+          'zope.interface',
+          'zope.deprecation'],
       include_package_data = True,
-
       zip_safe = False,
       )

Deleted: zope.app.annotation/trunk/test.py
===================================================================
--- zope.app.annotation/trunk/test.py	2007-10-11 04:06:12 UTC (rev 80818)
+++ zope.app.annotation/trunk/test.py	2007-10-11 04:26:35 UTC (rev 80819)
@@ -1,41 +0,0 @@
-#!/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: test.py 70876 2006-10-22 07:42:56Z baijum $
-"""
-
-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,
-    '--package', 'zope.app.annotation',
-    '--tests-pattern', '^f?tests$',
-    ]
-
-sys.exit(testrunner.run(defaults))
-



More information about the Checkins mailing list