[Checkins] SVN: zope.interface/trunk/ Converted to a buildout.
Jim Fulton
jim at zope.com
Wed Jan 3 10:29:17 EST 2007
Log message for revision 71690:
Converted to a buildout.
Changed:
_U zope.interface/trunk/
U zope.interface/trunk/CHANGES.txt
D zope.interface/trunk/INSTALL.txt
D zope.interface/trunk/MANIFEST.in
U zope.interface/trunk/README.txt
A zope.interface/trunk/buildout.cfg
U zope.interface/trunk/setup.py
-=-
Property changes on: zope.interface/trunk
___________________________________________________________________
Name: svn:ignore
- bin
build
dist
lib
setup.cfg
+ bin
build
dist
lib
setup.cfg
develop-eggs
parts
.installed.cfg
Modified: zope.interface/trunk/CHANGES.txt
===================================================================
--- zope.interface/trunk/CHANGES.txt 2007-01-03 12:20:17 UTC (rev 71689)
+++ zope.interface/trunk/CHANGES.txt 2007-01-03 15:29:17 UTC (rev 71690)
@@ -1,20 +1,20 @@
-zope.interface Package Changelog
-================================
+zope.interface Package Changes
+******************************
zope.interface version 3.2.0.2 (2006/04/15)
--------------------------------------------
+===========================================
- Fix packaging bug: 'package_dir' must be a *relative* path.
zope.interface version 3.2.0.1 (2006/04/14)
--------------------------------------------
+===========================================
- Packaging change: suppress inclusion of 'setup.cfg' in 'sdist' builds.
zope.interface version 3.2.0 (2006/01/05)
------------------------------------------
+=========================================
- Corresponds to the verison of the zope.interface package shipped as part of
the Zope 3.2.0 release.
@@ -23,7 +23,7 @@
zope.interface version 3.1.0 (2005/10/03)
------------------------------------------
+=========================================
- Corresponds to the verison of the zope.interface package shipped as part of
the Zope 3.1.0 release.
@@ -38,7 +38,7 @@
zope.interface version 3.0.1 (2005/07/27)
------------------------------------------
+=========================================
- Corresponds to the verison of the zope.interface package shipped as part of
the Zope X3.0.1 release.
@@ -48,7 +48,7 @@
zope.interface version 3.0.0 (2004/11/07)
------------------------------------------
+=========================================
- Corresponds to the verison of the zope.interface package shipped as part of
the Zope X3.0.0 release.
Deleted: zope.interface/trunk/INSTALL.txt
===================================================================
--- zope.interface/trunk/INSTALL.txt 2007-01-03 12:20:17 UTC (rev 71689)
+++ zope.interface/trunk/INSTALL.txt 2007-01-03 15:29:17 UTC (rev 71690)
@@ -1,83 +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.interface/trunk \
- src/zope.interface
- $ cd src/zope.interface
-
-Install it as a "devlopment egg" (which also installs its "hard"
-dependencies):
-
- $ /path/to/your/python setup.py develop
-
-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.interface
- $ cd src/zope.interface
- $ /path/to/your/python setup.py develop
-
-
-Installing a Binary Egg
------------------------
-
-Install the package as a "binary egg" (which also installs its "hard"
-dependencies):
-
- $ /path/to/easy_install --find-links="...." zope.interface
-
-
Deleted: zope.interface/trunk/MANIFEST.in
===================================================================
--- zope.interface/trunk/MANIFEST.in 2007-01-03 12:20:17 UTC (rev 71689)
+++ zope.interface/trunk/MANIFEST.in 2007-01-03 15:29:17 UTC (rev 71690)
@@ -1 +0,0 @@
-exclude setup.cfg
Modified: zope.interface/trunk/README.txt
===================================================================
--- zope.interface/trunk/README.txt 2007-01-03 12:20:17 UTC (rev 71689)
+++ zope.interface/trunk/README.txt 2007-01-03 15:29:17 UTC (rev 71690)
@@ -1,40 +1,8 @@
-zope.interface Package Readme
-=============================
+***************
+Zope Interfaces
+***************
-Overview
---------
+.. contents::
Interfaces are a mechanism for labeling objects as conforming to a given
API or contract.
-
-See ./src/zope/interface/README.txt for details and example usage.
-
-Changes
--------
-
-See CHANGES.txt.
-
-Installation
-------------
-
-See INSTALL.txt.
-
-
-Developer Resources
--------------------
-
-- Subversion browser:
-
- http://svn.zope.org/zope.interface/
-
-- Read-only Subversion checkout:
-
- $ svn co svn://svn.zope.org/repos/main/zope.interface/trunk
-
-- Writable Subversion checkout:
-
- $ svn co svn://svn.zope.org/repos/main/zope.interface/trunk
-
-- Note that the 'src/zope/interface' package is acutally a 'svn:externals'
- link to the corresponding package in the Zope3 trunk (or to a specific tag,
- for released versions of the package).
Added: zope.interface/trunk/buildout.cfg
===================================================================
--- zope.interface/trunk/buildout.cfg 2007-01-03 12:20:17 UTC (rev 71689)
+++ zope.interface/trunk/buildout.cfg 2007-01-03 15:29:17 UTC (rev 71690)
@@ -0,0 +1,8 @@
+[buildout]
+develop = .
+parts = test
+
+[test]
+recipe = zc.recipe.testrunner
+eggs = zope.interface
+
Property changes on: zope.interface/trunk/buildout.cfg
___________________________________________________________________
Name: svn:eol-style
+ native
Modified: zope.interface/trunk/setup.py
===================================================================
--- zope.interface/trunk/setup.py 2007-01-03 12:20:17 UTC (rev 71689)
+++ zope.interface/trunk/setup.py 2007-01-03 15:29:17 UTC (rev 71690)
@@ -22,22 +22,49 @@
from setuptools import setup, Extension
except ImportError, e:
from distutils.core import setup, Extension
+else:
+ extra = dict(
+ namespace_packages=["zope"],
+ include_package_data = True,
+ zip_safe = False,
+ tests_require = ['zope.testing'],
+ install_requires = ['setuptools'],
+ )
+def read(*rnames):
+ return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+
setup(name='zope.interface',
version='3.3-dev',
-
- url='http://svn.zope.org/zope.interface',
+ url='http://www.python.org/pypi/zope.interface',
license='ZPL 2.1',
description='Zope 3 Interface Infrastructure',
author='Zope Corporation and Contributors',
author_email='zope3-dev at zope.org',
+ long_description=(
+ read('README.txt')
+ + '\n' +
+ read('CHANGES.txt')
+ + '\n' +
+ 'Detailed Documentation\n'
+ '**********************\n'
+ + '\n' +
+ read('src', 'zope', 'interface', 'README.txt')
+ + '\n' +
+ read('src', 'zope', 'interface', 'adapter.txt')
+ + '\n' +
+ read('src', 'zope', 'interface', 'human.txt')
+ + '\n' +
+ 'Download\n'
+ '**********************\n'
+ ),
+
packages=["zope",
"zope.interface",
"zope.interface.common",
"zope.interface.tests",
],
- namespace_packages=["zope"],
package_dir = {'': 'src'},
ext_package='zope.interface',
ext_modules=[Extension("_zope_interface_coptimizations",
@@ -45,8 +72,4 @@
"_zope_interface_coptimizations.c")
]),
],
-
- tests_require = ['zope.testing'],
- include_package_data = True,
- zip_safe = False,
- )
+ **extra)
More information about the Checkins
mailing list