-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved spatial_properties to contrib, turned import warning to ImportE…
…rror when shapely is not installed, relocated the tests, added neo4j 3.4.0 to travis to test spatial properties properly.
- Loading branch information
1 parent
3b37b63
commit d42fb7b
Showing
6 changed files
with
72 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,15 +16,6 @@ | |
NormalizedProperty, RegexProperty, EmailProperty, | ||
JSONProperty, ArrayProperty, UniqueIdProperty) | ||
|
||
|
||
# If shapely is not installed, its import will fail and the spatial properties will not be available | ||
try: | ||
from .spatial_properties import (NeomodelPoint,PointProperty) | ||
except ImportError: | ||
sys.stderr.write('WARNING: Shapely not found on system, spatial capabilities will not be available.\n' | ||
'If required, you can install Shapely via `pip install shapely`.') | ||
|
||
|
||
__author__ = 'Robin Edwards' | ||
__email__ = '[email protected]' | ||
__license__ = 'MIT' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters