|
44 | 44 | except ImportError:
|
45 | 45 | has_subprocess = False
|
46 | 46 |
|
47 |
| -from cassandra import __version__ |
48 |
| - |
49 |
| -long_description = "" |
50 |
| -with open("README.rst") as f: |
51 |
| - long_description = f.read() |
52 |
| - |
53 |
| - |
54 | 47 | try:
|
55 | 48 | from nose.commands import nosetests
|
56 | 49 | except ImportError:
|
@@ -94,6 +87,7 @@ def run(self):
|
94 | 87 | path = "docs/_build/doctest"
|
95 | 88 | mode = "doctest"
|
96 | 89 | else:
|
| 90 | + from cassandra import __version__ |
97 | 91 | path = "docs/_build/%s" % __version__
|
98 | 92 | mode = "html"
|
99 | 93 |
|
@@ -434,59 +428,8 @@ def run_setup(extensions):
|
434 | 428 | else:
|
435 | 429 | sys.stderr.write("Bypassing Cython setup requirement\n")
|
436 | 430 |
|
437 |
| - dependencies = [ |
438 |
| - 'geomet>=0.1,<0.3', |
439 |
| - 'pyyaml > 5.0' |
440 |
| - ] |
441 |
| - |
442 |
| - _EXTRAS_REQUIRE = { |
443 |
| - 'graph': ['gremlinpython==3.4.6'], |
444 |
| - 'cle': ['cryptography>=35.0'] |
445 |
| - } |
446 |
| - |
447 | 431 | setup(
|
448 |
| - name='scylla-driver', |
449 |
| - version=__version__, |
450 |
| - description='Scylla Driver for Apache Cassandra', |
451 |
| - long_description=long_description, |
452 |
| - long_description_content_type='text/x-rst', |
453 |
| - url='https://github.com/scylladb/python-driver', |
454 |
| - project_urls={ |
455 |
| - 'Documentation': 'https://scylladb.github.io/python-driver/', |
456 |
| - 'Source': 'https://github.com/scylladb/python-driver/', |
457 |
| - 'Issues': 'https://github.com/scylladb/python-driver/issues', |
458 |
| - }, |
459 |
| - author='ScyllaDB', |
460 |
| - packages=[ |
461 |
| - 'cassandra', 'cassandra.io', 'cassandra.cqlengine', 'cassandra.graph', |
462 |
| - 'cassandra.datastax', 'cassandra.datastax.insights', 'cassandra.datastax.graph', |
463 |
| - 'cassandra.datastax.graph.fluent', 'cassandra.datastax.cloud', 'cassandra.scylla', |
464 |
| - 'cassandra.column_encryption' |
465 |
| - ], |
466 |
| - keywords='cassandra,cql,orm,dse,graph', |
467 |
| - include_package_data=True, |
468 |
| - install_requires=dependencies, |
469 |
| - extras_require=_EXTRAS_REQUIRE, |
470 | 432 | tests_require=['nose', 'mock>=2.0.0', 'PyYAML', 'pytz', 'sure'],
|
471 |
| - classifiers=[ |
472 |
| - 'Development Status :: 5 - Production/Stable', |
473 |
| - 'Intended Audience :: Developers', |
474 |
| - 'License :: OSI Approved :: Apache Software License', |
475 |
| - 'Natural Language :: English', |
476 |
| - 'Operating System :: OS Independent', |
477 |
| - 'Programming Language :: Python', |
478 |
| - 'Programming Language :: Python :: 3', |
479 |
| - 'Programming Language :: Python :: 3.7', |
480 |
| - 'Programming Language :: Python :: 3.8', |
481 |
| - 'Programming Language :: Python :: 3.9', |
482 |
| - 'Programming Language :: Python :: 3.10', |
483 |
| - 'Programming Language :: Python :: 3.11', |
484 |
| - 'Programming Language :: Python :: 3.12', |
485 |
| - 'Programming Language :: Python :: 3.13', |
486 |
| - 'Programming Language :: Python :: Implementation :: CPython', |
487 |
| - 'Programming Language :: Python :: Implementation :: PyPy', |
488 |
| - 'Topic :: Software Development :: Libraries :: Python Modules' |
489 |
| - ], |
490 | 433 | **kw)
|
491 | 434 |
|
492 | 435 |
|
|
0 commit comments