OmniSciDB  6686921089
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
setup Namespace Reference

Variables

tuple root = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
 
list extra_library_dirs = []
 
tuple dbe
 
list data_files = []
 
string name = "omniscidbe"
 
string version = "0.1"
 
tuple ext_modules
 
tuple CONDA_BUILD = int(os.environ.get('CONDA_BUILD', '0'))
 
tuple here = os.path.abspath(os.path.dirname(__file__))
 
tuple long_description = f.read()
 
tuple spec = importlib.util.spec_from_file_location("omnisci_version", os.path.join(here, 'omnisci', 'version.py'))
 
tuple version_module = importlib.util.module_from_spec(spec)
 
tuple VERSION = version_module.get_source_version()
 
list install_requires
 
list doc_requires = ['sphinx', 'numpydoc', 'sphinx-rtd-theme']
 
list test_requires = ['coverage', 'pytest', 'pytest-mock', 'pandas']
 
list dev_requires = doc_requires+test_requires+['pre-commit']
 
 complete_requires = dev_requires
 
dictionary extra_requires
 
string description = "A DB API 2 compatible client for OmniSci (formerly MapD)."
 
string long_description_content_type = 'text/x-rst'
 
string url = "https://github.com/omnisci/omniscidb"
 
string author = "OmniSci"
 
string author_email = "community@omnisci.com"
 
string license = "Apache Software License"
 
string python_requires = ">=3.7"
 
list classifiers
 
tuple packages = find_packages(exclude=('tests',))
 
 extras_require = extra_requires,
 

Variable Documentation

string setup.author = "OmniSci"

Definition at line 49 of file setup.py.

string setup.author_email = "community@omnisci.com"

Definition at line 50 of file setup.py.

list setup.classifiers
Initial value:
1 = [
2  "Development Status :: 5 - Production/Stable",
3  "Intended Audience :: Developers",
4  "Topic :: Database",
5  "Topic :: Scientific/Engineering",
6  "License :: OSI Approved :: Apache Software License",
7  "Programming Language :: Python :: 3",
8  "Programming Language :: Python :: 3.7",
9  "Programming Language :: Python :: 3.8",
10  "Programming Language :: Python :: 3 :: Only",
11  ]

Definition at line 53 of file setup.py.

setup.complete_requires = dev_requires

Definition at line 34 of file setup.py.

tuple setup.CONDA_BUILD = int(os.environ.get('CONDA_BUILD', '0'))

Definition at line 6 of file setup.py.

list setup.data_files = []

Definition at line 47 of file setup.in.py.

tuple setup.dbe
Initial value:
1 = Extension(
2  "omniscidbe",
3  ["@CMAKE_CURRENT_SOURCE_DIR@/Python/dbe.pyx"],
4  language="c++17",
5  include_dirs=[
6  np.get_include(),
7  pa.get_include(),
8  root,
9  "@CMAKE_SOURCE_DIR@",
10  "@CMAKE_CURRENT_SOURCE_DIR@",
11  "@CMAKE_SOURCE_DIR@/ThirdParty/rapidjson",
12  "@CMAKE_SOURCE_DIR@/Distributed/os",
13  ],
14  library_dirs=pa.get_library_dirs() + ["@CMAKE_CURRENT_BINARY_DIR@", "."] + extra_library_dirs,
15  runtime_library_dirs=pa.get_library_dirs() + ["$ORIGIN/../../"] + extra_library_dirs,
16  libraries=pa.get_libraries() + ["DBEngine", "boost_system"],
17  extra_compile_args=["-std=c++17", "-DRAPIDJSON_HAS_STDSTRING"],
18 )

Definition at line 24 of file setup.in.py.

Referenced by main().

string setup.description = "A DB API 2 compatible client for OmniSci (formerly MapD)."

Definition at line 45 of file setup.py.

list setup.dev_requires = doc_requires+test_requires+['pre-commit']

Definition at line 33 of file setup.py.

list setup.doc_requires = ['sphinx', 'numpydoc', 'sphinx-rtd-theme']

Definition at line 31 of file setup.py.

tuple setup.ext_modules
Initial value:
1 = cythonize(
2  dbe,
3  compiler_directives={
4  "c_string_type": "str",
5  "c_string_encoding": "utf8",
6  "language_level": "3",
7  },
8  include_path=[
9  "@CMAKE_CURRENT_SOURCE_DIR@",
10  "@CMAKE_CURRENT_SOURCE_DIR@/Python",
11  ],
12  )

Definition at line 74 of file setup.in.py.

list setup.extra_library_dirs = []

Definition at line 20 of file setup.in.py.

dictionary setup.extra_requires
Initial value:
1 = {
2  "docs": doc_requires,
3  "test": test_requires,
4  "dev": dev_requires,
5  "complete": complete_requires,
6 }

Definition at line 36 of file setup.py.

setup.extras_require = extra_requires,

Definition at line 67 of file setup.py.

tuple setup.here = os.path.abspath(os.path.dirname(__file__))

Definition at line 8 of file setup.py.

setup.install_requires
Initial value:
1 = [
2  "thrift == 0.13.0",
3  "numpy",
4  "sqlalchemy >= 1.3",
5  "packaging >= 20.0",
6  "requests >= 2.23.0",
7  "rbc-project >= 0.2.2",
8 ]

Definition at line 21 of file setup.py.

string setup.license = "Apache Software License"

Definition at line 51 of file setup.py.

setup.long_description = f.read()

Definition at line 12 of file setup.py.

string setup.long_description_content_type = 'text/x-rst'

Definition at line 47 of file setup.py.

string setup.name = "omniscidbe"

Definition at line 72 of file setup.in.py.

Referenced by table_functions::TableFunctionsFactory.add(), ExtensionFunctionsWhitelist.addCommon(), Parser::SelectStmt.analyze(), Catalog_Namespace::CommonFileOperations.assembleCatalogName(), bind_function(), bind_table_function(), anonymous_namespace{DBHandler.cpp}.check_valid_column_names(), Catalog_Namespace::Catalog.conditionallyInitializeSystemTables(), org.apache.calcite.sql2rel.SqlToRelConverter.convertIdentifier(), org.apache.calcite.sql2rel.SqlToRelConverter.convertJoinCondition(), org.apache.calcite.sql2rel.SqlToRelConverter.convertUsing(), com.mapd.tests.MapdTestClient.create_dashboard(), anonymous_namespace{ResultSetReductionJIT.cpp}.create_function(), DBHandler.create_geo_column(), anonymous_namespace{ResultSetReductionJIT.cpp}.create_llvm_function(), enum_name(), CodeGenerator::NullCheckCodegen.finalize(), com.omnisci.jdbc.OmniSciResultSet.findColumnByName(), get_arg_by_name(), anonymous_namespace{SharedDictionaryValidator.cpp}.get_compression_for_column(), Analyzer::Query.get_rte_idx(), table_functions::TableFunctionsFactory.get_table_funcs(), org.apache.calcite.sql2rel.SqlToRelConverter.DeferredLookup.getFieldAccess(), EmbeddedDatabase::DBEngineImpl.importArrowTable(), nvtx_helpers.init(), nvtx_helpers::anonymous_namespace{nvtx_helpers.cpp}.make_omnisci_event(), nvtx_helpers.omnisci_range_push(), quantile::detail.operator<<(), Data_Namespace::ProcMeminfoParser.operator[](), com.mapd.parser.server.ExtensionFunctionSignatureParser.parse(), com.mapd.parser.server.ExtensionFunctionSignatureParser.parseFromString(), com.mapd.parser.server.ExtensionFunctionSignatureParser.parseUdfAst(), Data_Namespace::ProcMeminfoParser.ProcMeminfoParser(), org.apache.calcite.rel.externalize.MapDRelJsonWriter.put(), Catalog_Namespace::Catalog.renameForeignServer(), com.mapd.tests.MapdTestClient.replace_dashboard(), com.mapd.calcite.parser.MapDParser.rewriteUpdateAsSelect(), com.mapd.logrunner.LogRunner.myThread.run(), Analyzer::TargetEntry.set_resname(), setArrowTable(), Grantee.setName(), DBObject.setName(), com.mapd.parser.server.CalciteServerHandler.setRuntimeExtensionFunctions(), com.mapd.parser.extension.ddl.SqlDdlNodes.shard(), org.apache.calcite.rel.externalize.MapDRelJsonReader.toAggCall(), com.mapd.parser.server.CalciteServerHandler.toExtensionFunction(), com.mapd.parser.server.ExtensionFunction.toJson(), org.apache.calcite.rel.externalize.MapDRelJson.toJson(), org.apache.calcite.rel.externalize.MapDRelJson.toOp(), com.mapd.tests.DateTimeTest.Encoding.toSqlColumn(), com.omnisci.jdbc.OmniSciColumnTypeTest.tst1_types(), type_name(), typeName(), and InsecureAccessManager.verify().

tuple setup.packages = find_packages(exclude=('tests',))

Definition at line 64 of file setup.py.

string setup.python_requires = ">=3.7"

Definition at line 52 of file setup.py.

tuple setup.root = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

Definition at line 14 of file setup.in.py.

Referenced by org.apache.calcite.prepare.MapDPlanner.applyFilterPushdown(), org.apache.calcite.sql2rel.SqlToRelConverter.convertFrom(), org.apache.calcite.sql2rel.SqlToRelConverter.convertMatchRecognize(), org.apache.calcite.sql2rel.SqlToRelConverter.convertMultisets(), org.apache.calcite.sql2rel.SqlToRelConverter.convertOrder(), org.apache.calcite.sql2rel.SqlToRelConverter.convertSelect(), org.apache.calcite.sql2rel.SqlToRelConverter.convertSelectImpl(), org.apache.calcite.sql2rel.SqlToRelConverter.convertSelectList(), com.mapd.calcite.parser.MapDParser.convertSqlToRelNode(), org.apache.calcite.sql2rel.SqlToRelConverter.convertTemporalTable(), org.apache.calcite.sql2rel.SqlToRelConverter.convertUnnest(), org.apache.calcite.sql2rel.SqlToRelConverter.convertValues(), org.apache.calcite.sql2rel.SqlToRelConverter.convertValuesImpl(), org.apache.calcite.sql2rel.SqlToRelConverter.convertWhere(), org.apache.calcite.sql2rel.SqlToRelConverter.createAggImpl(), org.apache.calcite.sql2rel.SqlToRelConverter.createAggregate(), org.apache.calcite.sql2rel.SqlToRelConverter.distinctify(), eliminate_dead_columns(), org.apache.calcite.sql2rel.SqlToRelConverter.getCorrelationUse(), com.mapd.calcite.parser.MapDParser.getPlanner(), org.apache.calcite.prepare.SqlIdentifierCapturer.getRelevantGetters(), org.apache.calcite.rel.rules.OuterJoinOptViaNullRejectionRule.onMatch(), org.apache.calcite.sql2rel.SqlToRelConverter.Blackboard.register(), org.apache.calcite.prepare.MapDPlanner.rel(), org.apache.calcite.prepare.SqlIdentifierCapturer.scan(), org.apache.calcite.sql2rel.SqlToRelConverter.Blackboard.setRoot(), org.apache.calcite.sql2rel.SqlToRelConverter.substituteSubQuery(), and org.apache.calcite.sql2rel.SqlToRelConverter.translateIn().

tuple setup.spec = importlib.util.spec_from_file_location("omnisci_version", os.path.join(here, 'omnisci', 'version.py'))

Definition at line 15 of file setup.py.

list setup.test_requires = ['coverage', 'pytest', 'pytest-mock', 'pandas']

Definition at line 32 of file setup.py.

string setup.url = "https://github.com/omnisci/omniscidb"

Definition at line 48 of file setup.py.

Referenced by com.omnisci.jdbc.OmniSciDriver.acceptsURL(), com.omnisci.jdbc.OmniSciDriver.connect(), com.omnisci.jdbc.OmniSciDatabaseMetaData.getURL(), com.mapd.common.SockTransportProperties.openHttpClientTransport(), com.omnisci.jdbc.OmniSciConnectionTest.tst1_binary_unencrypted(), com.omnisci.jdbc.OmniSciConnectionTest.tst1_binary_unencrypted_query_url1(), com.omnisci.jdbc.OmniSciConnectionTest.tst1_binary_unencrypted_query_url2(), com.omnisci.jdbc.OmniSciConnectionTest.tst1_binary_unencrypted_query_url3(), com.omnisci.jdbc.OmniSciConnectionTest.tst1_binary_unencrypted_query_url4(), com.omnisci.jdbc.OmniSciConnectionTest.tst1_binary_unencrypted_query_url5(), com.omnisci.jdbc.OmniSciConnectionTest.tst1_url_too_long(), com.omnisci.jdbc.OmniSciConnectionTest.tst1b_binary_encrypted_default(), com.omnisci.jdbc.OmniSciConnectionTest.tst1c_binary_encrypted_supplied_truststore_pkiauth_valid(), com.omnisci.jdbc.OmniSciConnectionTest.tst1e_binary_encrypted_supplied_truststore_pkiauth_invalid(), com.omnisci.jdbc.OmniSciConnectionTest.tst2_http_unencrypted(), com.omnisci.jdbc.OmniSciConnectionTest.tst3_connect_fail(), com.omnisci.jdbc.OmniSciConnectionTest.tst3a_https_encrypted_without_server_validation_default_truststore(), com.omnisci.jdbc.OmniSciConnectionTest.tst3b_https_encrypted_without_server_validation_supplied_truststore(), com.omnisci.jdbc.OmniSciConnectionTest.tst3c_https_encrypted_server_validation_default_truststore(), com.omnisci.jdbc.OmniSciConnectionTest.tst3d_https_encrypted_with_server_validation_supplied_truststore(), com.omnisci.jdbc.OmniSciConnectionTest.tst3e_https_insecure_encrypted_supplied_truststore_pkiauth_valid(), com.omnisci.jdbc.OmniSciConnectionTest.tst4_connect_url_override(), and com.omnisci.jdbc.OmniSciConnectionTest.tst5_properties_connection().

tuple setup.VERSION = version_module.get_source_version()

Definition at line 18 of file setup.py.

setup.version = "0.1"
tuple setup.version_module = importlib.util.module_from_spec(spec)

Definition at line 16 of file setup.py.