Skip to content

Commit 05dc365

Browse files
committed
Add graph extra requires
1 parent 0526657 commit 05dc365

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

setup.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,10 @@ def run_setup(extensions):
409409
if not PY3:
410410
dependencies.append('futures')
411411

412+
_EXTRAS_REQUIRE = {
413+
'graph': ['gremlinpython>=3.3.4,<3.3.9']
414+
}
415+
412416
setup(
413417
name='cassandra-driver',
414418
version=__version__,
@@ -423,11 +427,13 @@ def run_setup(extensions):
423427
author='DataStax',
424428
packages=[
425429
'cassandra', 'cassandra.io', 'cassandra.cqlengine', 'cassandra.graph',
426-
'cassandra.datastax', 'cassandra.datastax.insights', 'cassandra.datastax.graph'
430+
'cassandra.datastax', 'cassandra.datastax.insights', 'cassandra.datastax.graph',
431+
'cassandra.datastax.graph.fluent'
427432
],
428433
keywords='cassandra,cql,orm,dse,graph',
429434
include_package_data=True,
430435
install_requires=dependencies,
436+
extras_require=_EXTRAS_REQUIRE,
431437
tests_require=['nose', 'mock>=2.0.0', 'PyYAML', 'pytz', 'sure'],
432438
classifiers=[
433439
'Development Status :: 5 - Production/Stable',

test-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ requests
1818
backports.ssl_match_hostname; python_version < '2.7.9'
1919
futurist; python_version >= '3.7'
2020
asynctest; python_version > '3.4'
21+
gremlinpython>=3.3.4,<3.3.9

0 commit comments

Comments
 (0)