From 0d58f1e9df0108d9efc6f54c3e6c4a7152ac17a4 Mon Sep 17 00:00:00 2001 From: Alistair Date: Wed, 23 Mar 2022 18:43:59 +0000 Subject: [PATCH] Update Shapely --- README.rst | 12 ++++++++---- setup.py | 5 +++-- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index 8dd95fd9..f200b742 100644 --- a/README.rst +++ b/README.rst @@ -25,6 +25,10 @@ If you need assistance with neomodel, please create an issue on the GitHub repo :scale: 100% :target: https://neomodel.readthedocs.io/en/latest/?badge=latest +.. image:: https://badges.gitter.im/Join%20Chat.svg + :alt: Join the chat at https://gitter.im/neo4j-contrib/neomodel + :target: https://gitter.im/neo4j-contrib/neomodel?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge + Documentation ============= @@ -46,6 +50,10 @@ Install from pypi (recommended):: $ pip install neomodel ($ source dev # To install all things needed in a Python3 venv) + Neomodel has some optional dependencies (including Shapely), to install these use: + + $ pip install neomodel['extras'] + To install from github:: $ pip install git+git://github.com/neo4j-contrib/neomodel.git@HEAD#egg=neomodel-dev @@ -96,7 +104,3 @@ interpreters and neo4j versions:: # in the project's root folder: $ ./tests-with-docker-compose.sh - -.. image:: https://badges.gitter.im/Join%20Chat.svg - :alt: Join the chat at https://gitter.im/neo4j-contrib/neomodel - :target: https://gitter.im/neo4j-contrib/neomodel?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge diff --git a/setup.py b/setup.py index 30c31007..1708f971 100644 --- a/setup.py +++ b/setup.py @@ -18,9 +18,10 @@ 'scripts/neomodel_remove_labels'], setup_requires=[ 'pytest-runner'] if any(x in ('pytest', 'test') for x in sys.argv) else [], - tests_require=['pytest>=6.2.4', 'shapely', 'neobolt'], + tests_require=['pytest>=6.2.4'], + extras_require={'extras': ['Shapely>=1.7.1,<1.9']}, install_requires=['neo4j-driver==4.3.6', 'pytz>=2021.1', - "neobolt==1.7.17", "Shapely==1.7.1", "six==1.16.0"], + "neobolt==1.7.17", "six==1.16.0"], classifiers=[ "Development Status :: 5 - Production/Stable", 'Intended Audience :: Developers',