Commit ab7e20c7 authored by Tres Seaver's avatar Tres Seaver

Zap relative imports from C extensions.

parent b4cda4da
...@@ -99,7 +99,7 @@ weightedUnionPy = _set_operation(_weightedUnion, IFSetPy) ...@@ -99,7 +99,7 @@ weightedUnionPy = _set_operation(_weightedUnion, IFSetPy)
weightedIntersectionPy = _set_operation(_weightedIntersection, IFSetPy) weightedIntersectionPy = _set_operation(_weightedIntersection, IFSetPy)
try: try:
from _IFBTree import IFBucket from ._IFBTree import IFBucket
except ImportError: #pragma NO COVER w/ C extensions except ImportError: #pragma NO COVER w/ C extensions
IFBucket = IFBucketPy IFBucket = IFBucketPy
IFSet = IFSetPy IFSet = IFSetPy
...@@ -112,15 +112,15 @@ except ImportError: #pragma NO COVER w/ C extensions ...@@ -112,15 +112,15 @@ except ImportError: #pragma NO COVER w/ C extensions
weightedUnion = weightedUnionPy weightedUnion = weightedUnionPy
weightedIntersection = weightedIntersectionPy weightedIntersection = weightedIntersectionPy
else: #pragma NO COVER w/o C extensions else: #pragma NO COVER w/o C extensions
from _IFBTree import IFSet from ._IFBTree import IFSet
from _IFBTree import IFBTree from ._IFBTree import IFBTree
from _IFBTree import IFTreeSet from ._IFBTree import IFTreeSet
from _IFBTree import difference from ._IFBTree import difference
from _IFBTree import union from ._IFBTree import union
from _IFBTree import intersection from ._IFBTree import intersection
from _IFBTree import multiunion from ._IFBTree import multiunion
from _IFBTree import weightedUnion from ._IFBTree import weightedUnion
from _IFBTree import weightedIntersection from ._IFBTree import weightedIntersection
Bucket = IFBucket Bucket = IFBucket
Set = IFSet Set = IFSet
......
...@@ -100,7 +100,7 @@ weightedUnionPy = _set_operation(_weightedUnion, IISetPy) ...@@ -100,7 +100,7 @@ weightedUnionPy = _set_operation(_weightedUnion, IISetPy)
weightedIntersectionPy = _set_operation(_weightedIntersection, IISetPy) weightedIntersectionPy = _set_operation(_weightedIntersection, IISetPy)
try: try:
from _IIBTree import IIBucket from ._IIBTree import IIBucket
except ImportError: #pragma NO COVER w/ C extensions except ImportError: #pragma NO COVER w/ C extensions
IIBucket = IIBucketPy IIBucket = IIBucketPy
IISet = IISetPy IISet = IISetPy
...@@ -113,15 +113,15 @@ except ImportError: #pragma NO COVER w/ C extensions ...@@ -113,15 +113,15 @@ except ImportError: #pragma NO COVER w/ C extensions
weightedUnion = weightedUnionPy weightedUnion = weightedUnionPy
weightedIntersection = weightedIntersectionPy weightedIntersection = weightedIntersectionPy
else: #pragma NO COVER w/o C extensions else: #pragma NO COVER w/o C extensions
from _IIBTree import IISet from ._IIBTree import IISet
from _IIBTree import IIBTree from ._IIBTree import IIBTree
from _IIBTree import IITreeSet from ._IIBTree import IITreeSet
from _IIBTree import difference from ._IIBTree import difference
from _IIBTree import union from ._IIBTree import union
from _IIBTree import intersection from ._IIBTree import intersection
from _IIBTree import multiunion from ._IIBTree import multiunion
from _IIBTree import weightedUnion from ._IIBTree import weightedUnion
from _IIBTree import weightedIntersection from ._IIBTree import weightedIntersection
Bucket = IIBucket Bucket = IIBucket
Set = IISet Set = IISet
......
...@@ -83,7 +83,7 @@ intersectionPy = _set_operation(_intersection, IOSetPy) ...@@ -83,7 +83,7 @@ intersectionPy = _set_operation(_intersection, IOSetPy)
multiunionPy = _set_operation(_multiunion, IOSetPy) multiunionPy = _set_operation(_multiunion, IOSetPy)
try: try:
from _IOBTree import IOBucket from ._IOBTree import IOBucket
except ImportError: #pragma NO COVER w/ C extensions except ImportError: #pragma NO COVER w/ C extensions
IOBucket = IOBucketPy IOBucket = IOBucketPy
IOSet = IOSetPy IOSet = IOSetPy
...@@ -94,13 +94,13 @@ except ImportError: #pragma NO COVER w/ C extensions ...@@ -94,13 +94,13 @@ except ImportError: #pragma NO COVER w/ C extensions
intersection = intersectionPy intersection = intersectionPy
multiunion = multiunionPy multiunion = multiunionPy
else: #pragma NO COVER w/o C extensions else: #pragma NO COVER w/o C extensions
from _IOBTree import IOSet from ._IOBTree import IOSet
from _IOBTree import IOBTree from ._IOBTree import IOBTree
from _IOBTree import IOTreeSet from ._IOBTree import IOTreeSet
from _IOBTree import difference from ._IOBTree import difference
from _IOBTree import union from ._IOBTree import union
from _IOBTree import intersection from ._IOBTree import intersection
from _IOBTree import multiunion from ._IOBTree import multiunion
Bucket = IOBucket Bucket = IOBucket
Set = IOSet Set = IOSet
......
...@@ -100,7 +100,7 @@ weightedUnionPy = _set_operation(_weightedUnion, LFSetPy) ...@@ -100,7 +100,7 @@ weightedUnionPy = _set_operation(_weightedUnion, LFSetPy)
weightedIntersectionPy = _set_operation(_weightedIntersection, LFSetPy) weightedIntersectionPy = _set_operation(_weightedIntersection, LFSetPy)
try: try:
from _LFBTree import LFBucket from ._LFBTree import LFBucket
except ImportError: #pragma NO COVER w/ C extensions except ImportError: #pragma NO COVER w/ C extensions
LFBucket = LFBucketPy LFBucket = LFBucketPy
LFSet = LFSetPy LFSet = LFSetPy
...@@ -113,15 +113,15 @@ except ImportError: #pragma NO COVER w/ C extensions ...@@ -113,15 +113,15 @@ except ImportError: #pragma NO COVER w/ C extensions
weightedUnion = weightedUnionPy weightedUnion = weightedUnionPy
weightedIntersection = weightedIntersectionPy weightedIntersection = weightedIntersectionPy
else: #pragma NO COVER w/o C extensions else: #pragma NO COVER w/o C extensions
from _LFBTree import LFSet from ._LFBTree import LFSet
from _LFBTree import LFBTree from ._LFBTree import LFBTree
from _LFBTree import LFTreeSet from ._LFBTree import LFTreeSet
from _LFBTree import difference from ._LFBTree import difference
from _LFBTree import union from ._LFBTree import union
from _LFBTree import intersection from ._LFBTree import intersection
from _LFBTree import multiunion from ._LFBTree import multiunion
from _LFBTree import weightedUnion from ._LFBTree import weightedUnion
from _LFBTree import weightedIntersection from ._LFBTree import weightedIntersection
Bucket = LFBucket Bucket = LFBucket
Set = LFSet Set = LFSet
......
...@@ -100,7 +100,7 @@ weightedUnionPy = _set_operation(_weightedUnion, LLSetPy) ...@@ -100,7 +100,7 @@ weightedUnionPy = _set_operation(_weightedUnion, LLSetPy)
weightedIntersectionPy = _set_operation(_weightedIntersection, LLSetPy) weightedIntersectionPy = _set_operation(_weightedIntersection, LLSetPy)
try: try:
from _LLBTree import LLBucket from ._LLBTree import LLBucket
except ImportError: #pragma NO COVER w/ C extensions except ImportError: #pragma NO COVER w/ C extensions
LLBucket = LLBucketPy LLBucket = LLBucketPy
LLSet = LLSetPy LLSet = LLSetPy
...@@ -113,15 +113,15 @@ except ImportError: #pragma NO COVER w/ C extensions ...@@ -113,15 +113,15 @@ except ImportError: #pragma NO COVER w/ C extensions
weightedUnion = weightedUnionPy weightedUnion = weightedUnionPy
weightedIntersection = weightedIntersectionPy weightedIntersection = weightedIntersectionPy
else: #pragma NO COVER w/o C extensions else: #pragma NO COVER w/o C extensions
from _LLBTree import LLSet from ._LLBTree import LLSet
from _LLBTree import LLBTree from ._LLBTree import LLBTree
from _LLBTree import LLTreeSet from ._LLBTree import LLTreeSet
from _LLBTree import difference from ._LLBTree import difference
from _LLBTree import union from ._LLBTree import union
from _LLBTree import intersection from ._LLBTree import intersection
from _LLBTree import multiunion from ._LLBTree import multiunion
from _LLBTree import weightedUnion from ._LLBTree import weightedUnion
from _LLBTree import weightedIntersection from ._LLBTree import weightedIntersection
Bucket = LLBucket Bucket = LLBucket
Set = LLSet Set = LLSet
......
...@@ -83,7 +83,7 @@ intersectionPy = _set_operation(_intersection, LOSetPy) ...@@ -83,7 +83,7 @@ intersectionPy = _set_operation(_intersection, LOSetPy)
multiunionPy = _set_operation(_multiunion, LOSetPy) multiunionPy = _set_operation(_multiunion, LOSetPy)
try: try:
from _LOBTree import LOBucket from ._LOBTree import LOBucket
except ImportError: #pragma NO COVER w/ C extensions except ImportError: #pragma NO COVER w/ C extensions
LOBucket = LOBucketPy LOBucket = LOBucketPy
LOSet = LOSetPy LOSet = LOSetPy
...@@ -94,13 +94,13 @@ except ImportError: #pragma NO COVER w/ C extensions ...@@ -94,13 +94,13 @@ except ImportError: #pragma NO COVER w/ C extensions
intersection = intersectionPy intersection = intersectionPy
multiunion = multiunionPy multiunion = multiunionPy
else: #pragma NO COVER w/o C extensions else: #pragma NO COVER w/o C extensions
from _LOBTree import LOSet from ._LOBTree import LOSet
from _LOBTree import LOBTree from ._LOBTree import LOBTree
from _LOBTree import LOTreeSet from ._LOBTree import LOTreeSet
from _LOBTree import difference from ._LOBTree import difference
from _LOBTree import union from ._LOBTree import union
from _LOBTree import intersection from ._LOBTree import intersection
from _LOBTree import multiunion from ._LOBTree import multiunion
Bucket = LOBucket Bucket = LOBucket
Set = LOSet Set = LOSet
......
...@@ -97,7 +97,7 @@ weightedUnionPy = _set_operation(_weightedUnion, OISetPy) ...@@ -97,7 +97,7 @@ weightedUnionPy = _set_operation(_weightedUnion, OISetPy)
weightedIntersectionPy = _set_operation(_weightedIntersection, OISetPy) weightedIntersectionPy = _set_operation(_weightedIntersection, OISetPy)
try: try:
from _OIBTree import OIBucket from ._OIBTree import OIBucket
except ImportError: #pragma NO COVER w/ C extensions except ImportError: #pragma NO COVER w/ C extensions
OIBucket = OIBucketPy OIBucket = OIBucketPy
OISet = OISetPy OISet = OISetPy
...@@ -109,14 +109,14 @@ except ImportError: #pragma NO COVER w/ C extensions ...@@ -109,14 +109,14 @@ except ImportError: #pragma NO COVER w/ C extensions
weightedUnion = weightedUnionPy weightedUnion = weightedUnionPy
weightedIntersection = weightedIntersectionPy weightedIntersection = weightedIntersectionPy
else: #pragma NO COVER w/o C extensions else: #pragma NO COVER w/o C extensions
from _OIBTree import OISet from ._OIBTree import OISet
from _OIBTree import OIBTree from ._OIBTree import OIBTree
from _OIBTree import OITreeSet from ._OIBTree import OITreeSet
from _OIBTree import difference from ._OIBTree import difference
from _OIBTree import union from ._OIBTree import union
from _OIBTree import intersection from ._OIBTree import intersection
from _OIBTree import weightedUnion from ._OIBTree import weightedUnion
from _OIBTree import weightedIntersection from ._OIBTree import weightedIntersection
Bucket = OIBucket Bucket = OIBucket
......
...@@ -98,7 +98,7 @@ weightedUnionPy = _set_operation(_weightedUnion, OLSetPy) ...@@ -98,7 +98,7 @@ weightedUnionPy = _set_operation(_weightedUnion, OLSetPy)
weightedIntersectionPy = _set_operation(_weightedIntersection, OLSetPy) weightedIntersectionPy = _set_operation(_weightedIntersection, OLSetPy)
try: try:
from _OLBTree import OLBucket from ._OLBTree import OLBucket
except ImportError: #pragma NO COVER w/ C extensions except ImportError: #pragma NO COVER w/ C extensions
OLBucket = OLBucketPy OLBucket = OLBucketPy
OLSet = OLSetPy OLSet = OLSetPy
...@@ -110,14 +110,14 @@ except ImportError: #pragma NO COVER w/ C extensions ...@@ -110,14 +110,14 @@ except ImportError: #pragma NO COVER w/ C extensions
weightedUnion = weightedUnionPy weightedUnion = weightedUnionPy
weightedIntersection = weightedIntersectionPy weightedIntersection = weightedIntersectionPy
else: #pragma NO COVER w/o C extensions else: #pragma NO COVER w/o C extensions
from _OLBTree import OLSet from ._OLBTree import OLSet
from _OLBTree import OLBTree from ._OLBTree import OLBTree
from _OLBTree import OLTreeSet from ._OLBTree import OLTreeSet
from _OLBTree import difference from ._OLBTree import difference
from _OLBTree import union from ._OLBTree import union
from _OLBTree import intersection from ._OLBTree import intersection
from _OLBTree import weightedUnion from ._OLBTree import weightedUnion
from _OLBTree import weightedIntersection from ._OLBTree import weightedIntersection
Bucket = OLBucket Bucket = OLBucket
Set = OLSet Set = OLSet
......
...@@ -78,8 +78,8 @@ unionPy = _set_operation(_union, OOSetPy) ...@@ -78,8 +78,8 @@ unionPy = _set_operation(_union, OOSetPy)
intersectionPy = _set_operation(_intersection, OOSetPy) intersectionPy = _set_operation(_intersection, OOSetPy)
try: try:
from _OOBTree import OOBucket from ._OOBTree import OOBucket
except ImportError: #pragma NO COVER w/ C extensions except ImportError as e: #pragma NO COVER w/ C extensions
OOBucket = OOBucketPy OOBucket = OOBucketPy
OOSet = OOSetPy OOSet = OOSetPy
OOBTree = OOBTreePy OOBTree = OOBTreePy
...@@ -88,12 +88,12 @@ except ImportError: #pragma NO COVER w/ C extensions ...@@ -88,12 +88,12 @@ except ImportError: #pragma NO COVER w/ C extensions
union = unionPy union = unionPy
intersection = intersectionPy intersection = intersectionPy
else: #pragma NO COVER w/o C extensions else: #pragma NO COVER w/o C extensions
from _OOBTree import OOSet from ._OOBTree import OOSet
from _OOBTree import OOBTree from ._OOBTree import OOBTree
from _OOBTree import OOTreeSet from ._OOBTree import OOTreeSet
from _OOBTree import difference from ._OOBTree import difference
from _OOBTree import union from ._OOBTree import union
from _OOBTree import intersection from ._OOBTree import intersection
Bucket = OOBucket Bucket = OOBucket
Set = OOSet Set = OOSet
......
...@@ -100,7 +100,7 @@ unionPy = _set_operation(_union, fsSetPy) ...@@ -100,7 +100,7 @@ unionPy = _set_operation(_union, fsSetPy)
intersectionPy = _set_operation(_intersection, fsSetPy) intersectionPy = _set_operation(_intersection, fsSetPy)
try: try:
from _fsBTree import fsBucket from ._fsBTree import fsBucket
except ImportError: #pragma NO COVER w/ C extensions except ImportError: #pragma NO COVER w/ C extensions
fsBucket = fsBucketPy fsBucket = fsBucketPy
fsSet = fsSetPy fsSet = fsSetPy
...@@ -110,12 +110,12 @@ except ImportError: #pragma NO COVER w/ C extensions ...@@ -110,12 +110,12 @@ except ImportError: #pragma NO COVER w/ C extensions
union = unionPy union = unionPy
intersection = intersectionPy intersection = intersectionPy
else: #pragma NO COVER w/o C extensions else: #pragma NO COVER w/o C extensions
from _fsBTree import fsSet from ._fsBTree import fsSet
from _fsBTree import fsBTree from ._fsBTree import fsBTree
from _fsBTree import fsTreeSet from ._fsBTree import fsTreeSet
from _fsBTree import difference from ._fsBTree import difference
from _fsBTree import union from ._fsBTree import union
from _fsBTree import intersection from ._fsBTree import intersection
Bucket = fsBucket Bucket = fsBucket
Set = fsSet Set = fsSet
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment