|
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 |
|
@@ -424,59 +418,8 @@ def run_setup(extensions): |
424 | 418 | else: |
425 | 419 | sys.stderr.write("Bypassing Cython setup requirement\n") |
426 | 420 |
|
427 | | - dependencies = [ |
428 | | - 'geomet>=0.1,<0.3', |
429 | | - 'pyyaml > 5.0' |
430 | | - ] |
431 | | - |
432 | | - _EXTRAS_REQUIRE = { |
433 | | - 'graph': ['gremlinpython==3.4.6'], |
434 | | - 'cle': ['cryptography>=35.0'] |
435 | | - } |
436 | | - |
437 | 421 | setup( |
438 | | - name='scylla-driver', |
439 | | - version=__version__, |
440 | | - description='Scylla Driver for Apache Cassandra', |
441 | | - long_description=long_description, |
442 | | - long_description_content_type='text/x-rst', |
443 | | - url='https://github.com/scylladb/python-driver', |
444 | | - project_urls={ |
445 | | - 'Documentation': 'https://scylladb.github.io/python-driver/', |
446 | | - 'Source': 'https://github.com/scylladb/python-driver/', |
447 | | - 'Issues': 'https://github.com/scylladb/python-driver/issues', |
448 | | - }, |
449 | | - author='ScyllaDB', |
450 | | - packages=[ |
451 | | - 'cassandra', 'cassandra.io', 'cassandra.cqlengine', 'cassandra.graph', |
452 | | - 'cassandra.datastax', 'cassandra.datastax.insights', 'cassandra.datastax.graph', |
453 | | - 'cassandra.datastax.graph.fluent', 'cassandra.datastax.cloud', 'cassandra.scylla', |
454 | | - 'cassandra.column_encryption' |
455 | | - ], |
456 | | - keywords='cassandra,cql,orm,dse,graph', |
457 | | - include_package_data=True, |
458 | | - install_requires=dependencies, |
459 | | - extras_require=_EXTRAS_REQUIRE, |
460 | 422 | tests_require=['nose', 'mock>=2.0.0', 'PyYAML', 'pytz', 'sure'], |
461 | | - classifiers=[ |
462 | | - 'Development Status :: 5 - Production/Stable', |
463 | | - 'Intended Audience :: Developers', |
464 | | - 'License :: OSI Approved :: Apache Software License', |
465 | | - 'Natural Language :: English', |
466 | | - 'Operating System :: OS Independent', |
467 | | - 'Programming Language :: Python', |
468 | | - 'Programming Language :: Python :: 3', |
469 | | - 'Programming Language :: Python :: 3.7', |
470 | | - 'Programming Language :: Python :: 3.8', |
471 | | - 'Programming Language :: Python :: 3.9', |
472 | | - 'Programming Language :: Python :: 3.10', |
473 | | - 'Programming Language :: Python :: 3.11', |
474 | | - 'Programming Language :: Python :: 3.12', |
475 | | - 'Programming Language :: Python :: 3.13', |
476 | | - 'Programming Language :: Python :: Implementation :: CPython', |
477 | | - 'Programming Language :: Python :: Implementation :: PyPy', |
478 | | - 'Topic :: Software Development :: Libraries :: Python Modules' |
479 | | - ], |
480 | 423 | **kw) |
481 | 424 |
|
482 | 425 |
|
|
0 commit comments