Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

get rid of zope.index dependency, allow setup.py test to work by movi…

…ng code with import-time side effects to benchmark dir, change license header
  • Loading branch information...
commit 458d9ac2a666d9311e1171abdf0acb16687c59b3 1 parent ec5b7d0
@mcdonc mcdonc authored
View
0  hypatia/indexes/text/tests/hs-tool.py → benchmark/hs-tool.py
File renamed without changes
View
0  hypatia/indexes/text/tests/mhindex.py → benchmark/mhindex.py
File renamed without changes
View
0  hypatia/indexes/text/tests/wordstats.py → benchmark/wordstats.py
File renamed without changes
View
4 hypatia/indexes/text/tests/test_index.py
@@ -197,7 +197,7 @@ def _getBTreesFamily(self):
class CosineIndexTest64(IndexTestBase, unittest.TestCase):
def _getTargetClass(self):
- from zope.index.text.cosineindex import CosineIndex
+ from hypatia.indexes.text.cosineindex import CosineIndex
return CosineIndex
def _getBTreesFamily(self):
@@ -207,7 +207,7 @@ def _getBTreesFamily(self):
class OkapiIndexTest64(IndexTestBase, unittest.TestCase):
def _getTargetClass(self):
- from zope.index.text.okapiindex import OkapiIndex
+ from hypatia.indexes.text.okapiindex import OkapiIndex
return OkapiIndex
def _getBTreesFamily(self):
View
21 setup.py
@@ -1,14 +1,14 @@
##############################################################################
#
-# Copyright (c) 2008 Agendaless Consulting and Contributors.
+# Copyright (c) 2012 Zope Foundation and Contributors.
# All Rights Reserved.
#
-# This software is subject to the provisions of the BSD-like license at
-# http://www.repoze.org/LICENSE.txt. A copy of the license 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
+# 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.
#
##############################################################################
@@ -52,8 +52,6 @@ def _unavailable(self, e):
print >> sys.stderr, e
print >> sys.stderr, '*' * 80
-
-
try:
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
@@ -61,7 +59,10 @@ def _unavailable(self, e):
except IOError:
README = CHANGES = ''
-install_requires = ['setuptools', 'zope.component', 'zope.index >= 3.5.0']
+install_requires = [
+ 'ZODB3>=3.8',
+ 'zope.interface',
+ ]
testing_extras = ['nose', 'coverage']
docs_extras = ['Sphinx']
Please sign in to comment.
Something went wrong with that request. Please try again.