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