[Checkins] SVN: BTrees/trunk/ Moved to github
jim
cvs-admin at zope.org
Sat Jan 5 19:11:14 UTC 2013
Log message for revision 129022:
Moved to github
Changed:
D BTrees/trunk/.bzrignore
D BTrees/trunk/BTrees/
D BTrees/trunk/CHANGES.txt
D BTrees/trunk/COPYRIGHT.txt
D BTrees/trunk/LICENSE.txt
D BTrees/trunk/MANIFEST.in
A BTrees/trunk/MOVED_TO_GITHUB
D BTrees/trunk/README.txt
D BTrees/trunk/bootstrap.py
D BTrees/trunk/buildout.cfg
D BTrees/trunk/docs/
D BTrees/trunk/setup.cfg
D BTrees/trunk/setup.py
D BTrees/trunk/tox.ini
-=-
Deleted: BTrees/trunk/.bzrignore
===================================================================
--- BTrees/trunk/.bzrignore 2013-01-05 19:06:07 UTC (rev 129021)
+++ BTrees/trunk/.bzrignore 2013-01-05 19:11:14 UTC (rev 129022)
@@ -1,9 +0,0 @@
-.tox
-BTrees.egg-info
-build
-.coverage
-nosetests.xml
-coverage.xml
-*.egg
-docs/_build
-__pycache__
Deleted: BTrees/trunk/CHANGES.txt
===================================================================
--- BTrees/trunk/CHANGES.txt 2013-01-05 19:06:07 UTC (rev 129021)
+++ BTrees/trunk/CHANGES.txt 2013-01-05 19:11:14 UTC (rev 129022)
@@ -1,67 +0,0 @@
-``BTrees`` Changelog
-====================
-
-
-4.0.4 (unreleased)
-------------------
-
-
-4.0.3 (2013-01-04)
-------------------
-
-- Added ``setup_requires==['persistent']``.
-
-
-4.0.2 (2013-01-03)
-------------------
-
-- Updated Trove classifiers.
-
-- Added explicit support for Python 3.2, Python 3.3, and PyPy.
- Note that the C extensions are not (yet) available on PyPy.
-
-- Python reference implementations now tested separately from the C
- verions on all platforms.
-
-- 100% unit test coverage.
-
-
-4.0.1 (2012-10-21)
-------------------
-
-- Provide local fallback for persistent C header inclusion if the
- persistent distribution isn't installed. This makes the winbot happy.
-
-
-4.0.0 (2012-10-20)
-------------------
-
-Platform Changes
-################
-
-- Dropped support for Python < 2.6.
-
-- Factored ``BTrees`` as a separate distribution.
-
-Testing Changes
-###############
-
-- All covered platforms tested under ``tox``.
-
-- Added support for continuous integration using ``tox`` and ``jenkins``.
-
-- Added ``setup.py dev`` alias (installs ``nose`` and ``coverage``).
-
-- Dropped dependency on ``zope.testing`` / ``zope.testrunner``: tests now
- run with ``setup.py test``.
-
-Documentation Changes
-#####################
-
-- Added API reference, generated via Spinx' autodoc.
-
-- Added Sphinx documentation based on ZODB Guide (snippets are exercised
- via 'tox').
-
-- Added ``setup.py docs`` alias (installs ``Sphinx`` and
- ``repoze.sphinx.autointerface``).
Deleted: BTrees/trunk/COPYRIGHT.txt
===================================================================
--- BTrees/trunk/COPYRIGHT.txt 2013-01-05 19:06:07 UTC (rev 129021)
+++ BTrees/trunk/COPYRIGHT.txt 2013-01-05 19:11:14 UTC (rev 129022)
@@ -1 +0,0 @@
-Zope Foundation and Contributors
\ No newline at end of file
Deleted: BTrees/trunk/LICENSE.txt
===================================================================
--- BTrees/trunk/LICENSE.txt 2013-01-05 19:06:07 UTC (rev 129021)
+++ BTrees/trunk/LICENSE.txt 2013-01-05 19:11:14 UTC (rev 129022)
@@ -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: BTrees/trunk/MANIFEST.in
===================================================================
--- BTrees/trunk/MANIFEST.in 2013-01-05 19:06:07 UTC (rev 129021)
+++ BTrees/trunk/MANIFEST.in 2013-01-05 19:11:14 UTC (rev 129022)
@@ -1,9 +0,0 @@
-include *.txt
-
-recursive-include BTrees *
-recursive-include include *
-
-global-exclude *.dll
-global-exclude *.pyc
-global-exclude *.pyo
-global-exclude *.so
Added: BTrees/trunk/MOVED_TO_GITHUB
===================================================================
--- BTrees/trunk/MOVED_TO_GITHUB (rev 0)
+++ BTrees/trunk/MOVED_TO_GITHUB 2013-01-05 19:11:14 UTC (rev 129022)
@@ -0,0 +1,2 @@
+See https://github.com/zopefoundation/BTrees
+
Property changes on: BTrees/trunk/MOVED_TO_GITHUB
___________________________________________________________________
Added: svn:eol-style
+ native
Deleted: BTrees/trunk/README.txt
===================================================================
--- BTrees/trunk/README.txt 2013-01-05 19:06:07 UTC (rev 129021)
+++ BTrees/trunk/README.txt 2013-01-05 19:11:14 UTC (rev 129022)
@@ -1,10 +0,0 @@
-``BTrees``: scalable persistent components
-===========================================
-
-This package contains a set of persistent object containers built around
-a modified BTree data structure. The trees are optimized for use inside
-ZODB's "optimistic concurrency" paradigm, and include explicit resolution
-of conflicts detected by that mechannism.
-
-Please see the Sphinx documentation (``docs/index.rst``) for further
-information.
Deleted: BTrees/trunk/bootstrap.py
===================================================================
--- BTrees/trunk/bootstrap.py 2013-01-05 19:06:07 UTC (rev 129021)
+++ BTrees/trunk/bootstrap.py 2013-01-05 19:11:14 UTC (rev 129022)
@@ -1,68 +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$
-"""
-
-import os, shutil, sys, tempfile, urllib2
-
-tmpeggs = tempfile.mkdtemp()
-
-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
-
-is_jython = sys.platform.startswith('java')
-
-if is_jython:
- import subprocess
-
-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
-
-if is_jython:
- assert subprocess.Popen(
- [sys.executable] + ['-c', cmd, '-mqNxd', tmpeggs, 'zc.buildout'],
- env = dict(os.environ,
- PYTHONPATH=
- ws.find(pkg_resources.Requirement.parse('setuptools')).location
- ),
- ).wait() == 0
-
-else:
- 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: BTrees/trunk/buildout.cfg
===================================================================
--- BTrees/trunk/buildout.cfg 2013-01-05 19:06:07 UTC (rev 129021)
+++ BTrees/trunk/buildout.cfg 2013-01-05 19:11:14 UTC (rev 129022)
@@ -1,19 +0,0 @@
-[buildout]
-develop = .
-parts =
- test
- test_w_zodb
- scripts
-
-[test]
-recipe = zc.recipe.testrunner
-eggs = BTrees [test]
-
-[test_w_zodb]
-recipe = zc.recipe.testrunner
-eggs = BTrees [test,ZODB]
-
-[scripts]
-recipe = zc.recipe.egg
-eggs = BTrees [test,ZODB]
-interpreter = py
Deleted: BTrees/trunk/setup.cfg
===================================================================
--- BTrees/trunk/setup.cfg 2013-01-05 19:06:07 UTC (rev 129021)
+++ BTrees/trunk/setup.cfg 2013-01-05 19:11:14 UTC (rev 129022)
@@ -1,10 +0,0 @@
-[nosetests]
-nocapture=1
-cover-package=BTrees
-cover-erase=1
-with-doctest=0
-where=BTrees
-
-[aliases]
-dev = develop easy_install BTrees[testing]
-docs = develop easy_install BTrees[docs]
Deleted: BTrees/trunk/setup.py
===================================================================
--- BTrees/trunk/setup.py 2013-01-05 19:06:07 UTC (rev 129021)
+++ BTrees/trunk/setup.py 2013-01-05 19:11:14 UTC (rev 129022)
@@ -1,164 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2012 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.
-#
-##############################################################################
-
-__version__ = '4.0.4dev'
-
-import os
-import platform
-import sys
-
-
-from setuptools import Extension
-from setuptools import find_packages
-from setuptools import setup
-
-here = os.path.abspath(os.path.dirname(__file__))
-README = (open(os.path.join(here, 'README.txt')).read()
- + '\n\n' +
- open(os.path.join(here, 'CHANGES.txt')).read())
-
-# Include directories for C extensions
-# Sniff the location of the headers in 'persistent' or fall back
-# to local headers in the include sub-directory
-
-
-class ModuleHeaderDir(object):
-
- def __init__(self, require_spec, where='..'):
- # By default, assume top-level pkg has the same name as the dist.
- # Also assume that headers are located in the package dir, and
- # are meant to be included as follows:
- # #include "module/header_name.h"
- self._require_spec = require_spec
- self._where = where
-
- def __str__(self):
- from pkg_resources import require
- from pkg_resources import resource_filename
- from pkg_resources import DistributionNotFound
- try:
- require(self._require_spec)
- path = resource_filename(self._require_spec, self._where)
- except DistributionNotFound:
- path = os.path.join(here, 'include')
- return os.path.abspath(path)
-
-include = [ModuleHeaderDir('persistent')]
-
-# Set up dependencies for the BTrees package
-base_btrees_depends = [
- "BTrees/BTreeItemsTemplate.c",
- "BTrees/BTreeModuleTemplate.c",
- "BTrees/BTreeTemplate.c",
- "BTrees/BucketTemplate.c",
- "BTrees/MergeTemplate.c",
- "BTrees/SetOpTemplate.c",
- "BTrees/SetTemplate.c",
- "BTrees/TreeSetTemplate.c",
- "BTrees/sorters.c",
- ]
-
-FLAVORS = {"O": "object", "I": "int", "F": "float", 'L': 'int'}
-#XXX should 'fs' be in ZODB instead?
-FAMILIES = ("OO", "IO", "OI", "II", "IF", "fs", "LO", "OL", "LL", "LF")
-
-KEY_H = "BTrees/%skeymacros.h"
-VALUE_H = "BTrees/%svaluemacros.h"
-
-
-def BTreeExtension(family):
- key = family[0]
- value = family[1]
- name = "BTrees._%sBTree" % family
- sources = ["BTrees/_%sBTree.c" % family]
- kwargs = {"include_dirs": include}
- if family != "fs":
- kwargs["depends"] = (base_btrees_depends + [KEY_H % FLAVORS[key],
- VALUE_H % FLAVORS[value]])
- else:
- kwargs["depends"] = base_btrees_depends
- if key != "O":
- kwargs["define_macros"] = [('EXCLUDE_INTSET_SUPPORT', None)]
- return Extension(name, sources, **kwargs)
-
-py_impl = getattr(platform, 'python_implementation', lambda: None)
-pure_python = os.environ.get('PURE_PYTHON', False)
-is_pypy = py_impl() == 'PyPy'
-is_jython = 'java' in sys.platform
-
-# Jython cannot build the C optimizations, while on PyPy they are
-# anti-optimizations (the C extension compatibility layer is known-slow,
-# and defeats JIT opportunities).
-if pure_python or is_pypy or is_jython:
- ext_modules = []
-else:
-
- ext_modules = [BTreeExtension(family) for family in FAMILIES]
-
-if sys.version_info[0] > 3:
- REQUIRES = [
- 'persistent>=4.0.4',
- 'zope.interface',
- ]
-else:
- REQUIRES = [
- 'persistent',
- 'zope.interface',
- ]
-TESTS_REQUIRE = REQUIRES + ['transaction']
-
-setup(name='BTrees',
- version=__version__,
- description='Scalable persistent object containers',
- long_description=README,
- classifiers=[
- "Development Status :: 6 - Mature",
- "License :: OSI Approved :: Zope Public License",
- "Programming Language :: Python",
- 'Programming Language :: Python :: 2',
- 'Programming Language :: Python :: 2.6',
- 'Programming Language :: Python :: 2.7',
- 'Programming Language :: Python :: 3',
- 'Programming Language :: Python :: 3.2',
- 'Programming Language :: Python :: 3.3',
- "Programming Language :: Python :: Implementation :: CPython",
- "Programming Language :: Python :: Implementation :: PyPy",
- "Framework :: ZODB",
- "Topic :: Database",
- "Topic :: Software Development :: Libraries :: Python Modules",
- "Operating System :: Microsoft :: Windows",
- "Operating System :: Unix",
- ],
- author="Zope Foundation",
- author_email="zodb-dev at zope.org",
- url="http://packages.python.org/BTrees",
- license="ZPL 2.1",
- platforms=["any"],
- packages=find_packages(),
- include_package_data=True,
- zip_safe=False,
- ext_modules = ext_modules,
- setup_requires=['persistent'],
- extras_require = {
- 'test': TESTS_REQUIRE,
- 'ZODB': ['ZODB3'],
- 'testing': TESTS_REQUIRE + ['nose', 'coverage'],
- 'docs': ['Sphinx', 'repoze.sphinx.autointerface'],
- },
- test_suite="BTrees.tests",
- tests_require=TESTS_REQUIRE,
- install_requires=REQUIRES,
- entry_points = """\
- """
- )
Deleted: BTrees/trunk/tox.ini
===================================================================
--- BTrees/trunk/tox.ini 2013-01-05 19:06:07 UTC (rev 129021)
+++ BTrees/trunk/tox.ini 2013-01-05 19:11:14 UTC (rev 129022)
@@ -1,58 +0,0 @@
-[tox]
-envlist =
-# Jython support pending 2.7 support, due 2012-07-15 or so. See:
-# http://fwierzbicki.blogspot.com/2012/03/adconion-to-fund-jython-27.html
-# py26,py27,py32,jython,pypy,coverage,docs
- py26,py27,pypy,py32,py33,w_zodb,coverage,docs
-
-[testenv]
-deps =
- zope.interface
- persistent
- transaction
-commands =
- python setup.py test -q
-
-#[testenv:jython]
-#commands =
-# jython setup.py test -q
-
-[testenv:w_zodb]
-basepython =
- python2.6
-commands =
- python setup.py test -q
-deps =
- zope.interface
- persistent
- transaction
- ZODB3
- nose
- coverage
- nosexcover
-
-[testenv:coverage]
-basepython =
- python2.6
-commands =
- nosetests --with-xunit --with-xcoverage --cover-package=BTrees
-deps =
- zope.interface
- persistent
- transaction
- nose
- coverage
- nosexcover
-
-[testenv:docs]
-basepython =
- python2.6
-commands =
- sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
- sphinx-build -b doctest -d docs/_build/doctrees docs docs/_build/doctest
-deps =
- zope.interface
- persistent
- transaction
- Sphinx
- repoze.sphinx.autointerface
More information about the checkins
mailing list