[Checkins] SVN: z3c.autoinclude/trunk/ Moved to GitHub.

Stephen Richter cvs-admin at zope.org
Fri Mar 1 15:43:46 UTC 2013


Log message for revision 129965:
  Moved to GitHub.

Changed:
  D   z3c.autoinclude/trunk/CHANGES.txt
  D   z3c.autoinclude/trunk/COPYRIGHT.txt
  D   z3c.autoinclude/trunk/LICENSE.txt
  D   z3c.autoinclude/trunk/MANIFEST.in
  A   z3c.autoinclude/trunk/MOVED_TO_GITHUB
  D   z3c.autoinclude/trunk/README.txt
  D   z3c.autoinclude/trunk/TODO.txt
  D   z3c.autoinclude/trunk/bootstrap.py
  D   z3c.autoinclude/trunk/buildout.cfg
  D   z3c.autoinclude/trunk/setup.py
  D   z3c.autoinclude/trunk/src/

-=-
Deleted: z3c.autoinclude/trunk/CHANGES.txt
===================================================================
--- z3c.autoinclude/trunk/CHANGES.txt	2013-03-01 15:43:40 UTC (rev 129964)
+++ z3c.autoinclude/trunk/CHANGES.txt	2013-03-01 15:43:46 UTC (rev 129965)
@@ -1,100 +0,0 @@
-Changes
-=======
-
-0.3.5 (unreleased)
-------------------
-
-* If a module cannot be resolved, but raises ``ImportError``, log a
-  warn and continue. This fixes an issue where the determining the
-  includable packages would fail due to a problem with the importation
-  of one or potentially more modules. An example is the ``gobject``
-  module which provides a Python binding to ``GObject``. In a recent
-  API deprecation, one is no longer allowed to both import ``gi`` and
-  ``gobject``.
-
-0.3.4 (2011-03-11)
-------------------
-
-* Remove unnecessary distribution lookup in the PluginFinder.
-
-0.3.3 (2010-05-06)
-------------------
-
-* Ignore case in tests in order to pass tests on Windows.
-
-* Clearly specify license as ZPL (not public domain, as it was
-  claiming before).
-
-0.3.2 (2009-12-19)
-------------------
-
-* Let `subpackageDottedNames` always return a sorted list of package names as
-  `os.listdir` doesn't on some platforms.
-
-0.3.1 (2009-05-04)
-------------------
-
-* z3c.autoinclude no longer (spuriously) depends on PasteScript.
-
-0.3 (2009-03-03)
-----------------
-
-* Allow virtual namespace packages like 'plone' to be specified for the
-  package. I think this may need more thought for the dependency case.
-
-* Allow ZCML ``includePlugins`` directive to specify a particular ZCML file to
-  try to load from plugins, so that loading of meta, configure and overrides
-  can be split across three ZCML files if desired. You can specify a file like:
-  <includePlugins package="." file="silly.zcml" />.
-
-* Provide a separate ``includePluginsOverrides`` directive to be used when
-  loading overrides, and no longer look for 'overrides.zcml' files by default
-  with ``includePlugins``.
-
-* Removed the deprecated ``autoinclude`` and ``autoincludeOverrides``
-  directives.
-
-* Allow autoinclusion to be disabled by setting
-  `os.environ['Z3C_AUTOINCLUDE_PLUGINS_DISABLED']` and
-  `os.environ['Z3C_AUTOINCLUDE_DEPENDENCIES_DISABLED']`, potentially useful for
-  test runners or debugging sessions. See
-  http://lists.plone.org/pipermail/framework-team/2009-February/002689.html for
-  discussion.
-
-0.2.2 (2008-04-22)
-------------------
-
-* Gracefully catch KeyErrors in ``namespaceForDottedName``; get_metadata_lines
-  will sometimes throw this for certain distribution types, apparently. In
-  particular, some systems' version of Python itself will be wrapped in a
-  distribution which throws this error, resulting in system-dependent
-  unresumable breakage of z3c.autoinclude prior to this fix.
-
-0.2.1 (2008-04-21)
-------------------
-
-* Fixed bug which prevented proper inclusion of packages when the base
-  package's namespace has been extended by other installed packages.
-
-* Rewrote ``distributionForPackage`` function.
-
-* Added additional tests for ``includePlugins`` and utility functions.
-
-* Fixed bug which made z3c.autoinclude look for ZCML in namespaces of nested
-  namespace packages (eg, if there happened to -- improperly -- be an
-  x/y/configure.zcml in a x.y.z package with an x.y namespace, it would have
-  been included; this is incorrect.)
-
-0.2 (2008-04-18)
-----------------
-
-* Added new directive ``includePlugins``.
-
-* Renamed ``autoinclude`` directive to ``includeDependencies``.
-
-* Deprecated ``autoinclude`` directive.
-
-0.1 (2008-02-25)
-----------------
-
-* Initial public release.

Deleted: z3c.autoinclude/trunk/COPYRIGHT.txt
===================================================================
--- z3c.autoinclude/trunk/COPYRIGHT.txt	2013-03-01 15:43:40 UTC (rev 129964)
+++ z3c.autoinclude/trunk/COPYRIGHT.txt	2013-03-01 15:43:46 UTC (rev 129965)
@@ -1 +0,0 @@
-Zope Foundation and Contributors
\ No newline at end of file

Deleted: z3c.autoinclude/trunk/LICENSE.txt
===================================================================
--- z3c.autoinclude/trunk/LICENSE.txt	2013-03-01 15:43:40 UTC (rev 129964)
+++ z3c.autoinclude/trunk/LICENSE.txt	2013-03-01 15:43:46 UTC (rev 129965)
@@ -1,44 +0,0 @@
-Zope Public License (ZPL) Version 2.1
-
-A copyright notice accompanies this license document that identifies the
-copyright holders.
-
-This license has been certified as open source. It has also been designated as
-GPL compatible by the Free Software Foundation (FSF).
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-1. Redistributions in source code must retain the accompanying copyright
-notice, this list of conditions, and the following disclaimer.
-
-2. Redistributions in binary form must reproduce the accompanying copyright
-notice, this list of conditions, and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
-
-3. Names of the copyright holders must not be used to endorse or promote
-products derived from this software without prior written permission from the
-copyright holders.
-
-4. The right to distribute this software or to use it for any purpose does not
-give you the right to use Servicemarks (sm) or Trademarks (tm) of the
-copyright
-holders. Use of them is covered by separate agreement with the copyright
-holders.
-
-5. If any files are modified, you must cause the modified files to carry
-prominent notices stating that you changed the files and the date of any
-change.
-
-Disclaimer
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED
-OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT,
-INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Deleted: z3c.autoinclude/trunk/MANIFEST.in
===================================================================
--- z3c.autoinclude/trunk/MANIFEST.in	2013-03-01 15:43:40 UTC (rev 129964)
+++ z3c.autoinclude/trunk/MANIFEST.in	2013-03-01 15:43:46 UTC (rev 129965)
@@ -1,8 +0,0 @@
-include *
-
-recursive-include src *
-
-global-exclude *pyc
-prune src/z3c/autoinclude/tests/*/build
-prune src/z3c/autoinclude/tests/*/dist
-prune src/z3c/autoinclude/tests/*/*.egg-info

Added: z3c.autoinclude/trunk/MOVED_TO_GITHUB
===================================================================
--- z3c.autoinclude/trunk/MOVED_TO_GITHUB	                        (rev 0)
+++ z3c.autoinclude/trunk/MOVED_TO_GITHUB	2013-03-01 15:43:46 UTC (rev 129965)
@@ -0,0 +1 @@
+See https://github.com/zopefoundation/z3c.autoinclude
\ No newline at end of file

Deleted: z3c.autoinclude/trunk/README.txt
===================================================================
--- z3c.autoinclude/trunk/README.txt	2013-03-01 15:43:40 UTC (rev 129964)
+++ z3c.autoinclude/trunk/README.txt	2013-03-01 15:43:46 UTC (rev 129965)
@@ -1,107 +0,0 @@
-Overview
-========
-
-This package adds two new ZCML directives to automatically detect 
-ZCML files to include: "includeDependencies" and "includePlugins".
-
-When you want to include a Zope-based package in your application, you
-have to repeat yourself in two places: you have to add the package
-itself (in a setup.py, buildout, etc) and you also have to include its
-ZCML with an <include> directive or a package-includes slug. Because
-you have to repeat yourself, you can easily make an error where you
-add a new package but forget to include its ZCML.
-
-z3c.autoinclude lets you circumvent this error-prone process with
-automatic detection and inclusion of ZCML files.
-
-includeDependencies
--------------------
-
-The "includeDependencies" directive searches through the dependencies
-in your setup.py file (install_requires), and includes the ZCML files
-in those packages that it finds. Inclusion order matches the order in
-the setup.py file. You can pass a path for the package you want to
-include dependencies for, but typically you pass in the current
-package, as follows::
-
-  <includeDependencies package="." />
-
-With this directive, you no longer have to add an explicit ``<include
-package=new.dependency>`` for every new dependency of your project.
-
-Grok_ and grokproject_ use this functionality out of the box. The
-grokproject command will automatically add the ``includeDependencies``
-directive in the ZCML of the project it generates.  You can then stop
-worrying about manual ZCML inclusion in the vast majority of cases.
-
-includePlugins
---------------
-
-The "includePlugins" directive uses entry points to find installed
-packages that broadcast themselves as plugins to a particular base
-package. You can pass a path for the package you want to include
-plugins for, but typically you pass in the current package, as
-follows::
-
-  <includePlugins package="." />
-
-To broadcast a package as a plugin to a base package called "my_base",
-add the following lines to the plugin package's ``setup.py``::
-
-  entry_points="""
-  [z3c.autoinclude.plugin]
-  target = my_base
-  """
-
-The Details
-===========
-
-Setup
------
-
-To make the z3c.autoinclude directives available for use in your
-application or framework, you need to include it (in your
-``meta.zcml`` for instance), like this::
-
-  <include package="z3c.autoinclude" file="meta.zcml" />
-
-Grok already does this for you automatically.
-
-Disabling z3c.autoinclude
--------------------------
-
-It is often useful to disable z3c.autoinclude's functionality for
-debugging purposes or test runs.  To disable autoinclusion, set
-the environment variables "Z3C_AUTOINCLUDE_DEPENDENCIES_DISABLED" and
-"Z3C_AUTOINCLUDE_PLUGINS_DISABLED".
-
-When autoinclusion is disabled, the autoinclusion directives will
-issue a warning to the log and do nothing.
-
-ZCML Filenames
---------------
-
-The includeDependencies directive automatically includes
-``configure.zcml`` and ``meta.zcml`` files that live in the main
-package directories. For automatic inclusion of dependencies'
-overrides, there is an <includeDependenciesOverrides> directive.
-
-In some cases, a package may use unusual names or
-locations for its ZCML files. In that case you will need to modify
-your package's ``configure.zcml`` and ``meta.zcml`` yourself to
-include the ZCML using the manual ``include`` directive.
-
-The includePlugins directive automatically includes ``configure.zcml``
-and ``meta.zcml`` files by default, and the includePluginsOverrides
-directive automatically includes ``overrides.zcml`` files by default.
-But, like "<include>", these directives also have an optional "file"
-parameter, so you can automatically include all ``foo.zcml`` files in
-your package's plugins like this::
-
-  <includePlugins package="." file="foo.zcml" />
-
-The includeDependencies directives will soon offer this option as well.
-
-.. _Grok: http://grok.zope.org
-
-.. _grokproject: http://pypi.python.org/pypi/grokproject

Deleted: z3c.autoinclude/trunk/TODO.txt
===================================================================
--- z3c.autoinclude/trunk/TODO.txt	2013-03-01 15:43:40 UTC (rev 129964)
+++ z3c.autoinclude/trunk/TODO.txt	2013-03-01 15:43:46 UTC (rev 129965)
@@ -1,8 +0,0 @@
-in no particular order, some notes on things that I think ought to happen to this code:
-
- * Profiling.  As far as I know, none has been done, and I expect that the code is *very* slow. Then, obviously, optimizations should be considered.
- * Documentation.  It's still fairly poor; I think the whole damn thing is just so abstract that I can't figure out how to talk about it.
- * May as well figure out how to make a PasteScript template to auto-generate the entry point.
- * Better debugging tools/APIs: to see what will be autoincluded, turn on and off autoinclusion for individual packages, and freeze a ZCML file capturing autoinclusion information a la pip.
-
-One day I also want to add another directive to autoinclude subpackages' ZCML; this is a frequent annoyance for me (see https://svn.openplans.org/svn/opencore/trunk/opencore/configuration/configure.zcml for an illustrative example)

Deleted: z3c.autoinclude/trunk/bootstrap.py
===================================================================
--- z3c.autoinclude/trunk/bootstrap.py	2013-03-01 15:43:40 UTC (rev 129964)
+++ z3c.autoinclude/trunk/bootstrap.py	2013-03-01 15:43:46 UTC (rev 129965)
@@ -1,55 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2006 Zope Foundation 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.
-#
-##############################################################################
-"""Bootstrap a buildout-based project
-
-Simply run this script in a directory containing a buildout.cfg.
-The script accepts buildout command-line options, so you can
-use the -c option to specify an alternate configuration file.
-
-$Id: bootstrap.py 75593 2007-05-06 21:11:27Z jim $
-"""
-
-import os, shutil, sys, tempfile, urllib2
-
-tmpeggs = tempfile.mkdtemp()
-
-try:
-    import pkg_resources
-except ImportError:
-    ez = {}
-    exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'
-                         ).read() in ez
-    ez['use_setuptools'](to_dir=tmpeggs, download_delay=0)
-
-    import pkg_resources
-
-cmd = 'from setuptools.command.easy_install import main; main()'
-if sys.platform == 'win32':
-    cmd = '"%s"' % cmd # work around spawn lamosity on windows
-
-ws = pkg_resources.working_set
-assert os.spawnle(
-    os.P_WAIT, sys.executable, sys.executable,
-    '-c', cmd, '-mqNxd', tmpeggs, 'zc.buildout',
-    dict(os.environ,
-         PYTHONPATH=
-         ws.find(pkg_resources.Requirement.parse('setuptools')).location
-         ),
-    ) == 0
-
-ws.add_entry(tmpeggs)
-ws.require('zc.buildout')
-import zc.buildout.buildout
-zc.buildout.buildout.main(sys.argv[1:] + ['bootstrap'])
-shutil.rmtree(tmpeggs)

Deleted: z3c.autoinclude/trunk/buildout.cfg
===================================================================
--- z3c.autoinclude/trunk/buildout.cfg	2013-03-01 15:43:40 UTC (rev 129964)
+++ z3c.autoinclude/trunk/buildout.cfg	2013-03-01 15:43:46 UTC (rev 129965)
@@ -1,12 +0,0 @@
-[buildout]
-develop = .
-parts = devpython test
-
-[devpython]
-recipe = zc.recipe.egg
-interpreter = devpython
-eggs = z3c.autoinclude
-
-[test]
-recipe = zc.recipe.testrunner
-eggs = z3c.autoinclude

Deleted: z3c.autoinclude/trunk/setup.py
===================================================================
--- z3c.autoinclude/trunk/setup.py	2013-03-01 15:43:40 UTC (rev 129964)
+++ z3c.autoinclude/trunk/setup.py	2013-03-01 15:43:46 UTC (rev 129965)
@@ -1,38 +0,0 @@
-from setuptools import setup, find_packages
-
-long_description = (open('README.txt').read()
-                    + '\n\n' +
-                    open('CHANGES.txt').read())
-
-setup(name='z3c.autoinclude',
-      version='0.3.5dev',
-      description="Automatically include ZCML",
-      long_description=long_description,
-      classifiers=[
-        "Framework :: Zope3",
-        "Programming Language :: Python",
-        ],
-      keywords='',
-      author='Ethan Jucovy, Robert Marianski, Martijn Faassen',
-      author_email='zope-dev at zope.org',
-      url='http://pypi.python.org/pypi/z3c.autoinclude',
-      license='ZPL',
-      packages=find_packages('src'),
-      package_dir={'': 'src'},
-      namespace_packages=['z3c'],
-      include_package_data=True,
-      zip_safe=False,
-      install_requires=[
-          'setuptools',
-          'zope.dottedname',
-          'zope.interface',
-          'zope.configuration',
-          'zope.schema',
-          'zc.buildout',
-      ],
-      extras_require={'test': ['zc.buildout','zope.testing']},
-      entry_points="""
-      [console_scripts]
-      autoinclude-test = z3c.autoinclude.tests.tests:interactive_testing_env
-      """,
-      )



More information about the checkins mailing list