-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
160 lines (141 loc) · 4.22 KB
/
setup.py
File metadata and controls
160 lines (141 loc) · 4.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
#!/usr/bin/env python3
"""
NexaDB Setup Configuration
Zero-dependency LSM-Tree database with professional admin UI
"""
from setuptools import setup, find_packages
from pathlib import Path
# Read README for long description
readme_file = Path(__file__).parent / "README.md"
long_description = readme_file.read_text(encoding="utf-8") if readme_file.exists() else ""
# Read version from veloxdb_core.py
version = "3.0.6"
setup(
name="nexadb",
version=version,
description="Next-gen AI database with enterprise security, HNSW vector search, and 40-50% LLM cost savings",
long_description=long_description,
long_description_content_type="text/markdown",
author="Krish",
author_email="krishcdbry@gmail.com",
url="https://github.com/krishcdbry/nexadb",
project_urls={
"Bug Tracker": "https://github.com/krishcdbry/nexadb/issues",
"Documentation": "https://github.com/krishcdbry/nexadb#readme",
"Source Code": "https://github.com/krishcdbry/nexadb",
},
license="MIT",
# Package configuration
packages=find_packages(exclude=["tests", "tests.*", "docs", "examples"]),
py_modules=[
"nexadb_server",
"nexadb_binary_server",
"admin_server",
"nexadb_cli",
"veloxdb_core",
"storage_engine",
"security",
"index_manager",
"toon_format",
"toon_cli",
],
# Include non-Python files
package_data={
"": [
"nexadb_admin_modern.html",
"logo-light.svg",
"logo-dark.svg",
"*.md",
],
},
include_package_data=True,
# Python version requirement
python_requires=">=3.8",
# No external dependencies!
install_requires=[],
# Optional dependencies for development
extras_require={
"dev": [
"pytest>=7.0.0",
"black>=22.0.0",
"flake8>=4.0.0",
"mypy>=0.950",
],
"docs": [
"sphinx>=4.0.0",
"sphinx-rtd-theme>=1.0.0",
],
},
# Entry points for command-line scripts
entry_points={
"console_scripts": [
"nexadb=nexadb_cli:main",
"nexadb-server=nexadb_server:main",
"nexadb-binary=nexadb_binary_server:main",
"nexadb-admin=admin_server:main",
"toon=toon_cli:main",
],
},
# Classifiers for PyPI
classifiers=[
# Development status
"Development Status :: 5 - Production/Stable",
# Intended audience
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
# Topic
"Topic :: Database",
"Topic :: Database :: Database Engines/Servers",
"Topic :: Software Development :: Libraries :: Python Modules",
# License
"License :: OSI Approved :: MIT License",
# Python versions
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
# Operating systems
"Operating System :: OS Independent",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
# Other
"Natural Language :: English",
"Typing :: Typed",
],
# Keywords for PyPI search
keywords=[
"database",
"nosql",
"ai-database",
"vector-database",
"vector-search",
"hnsw",
"semantic-search",
"embeddings",
"llm",
"toon-format",
"enterprise-security",
"aes-256",
"rbac",
"lsm-tree",
"document-database",
"zero-dependency",
"lightweight",
"fast",
"python",
"indexing",
"b-tree",
"full-text-search",
],
# Ensure wheel is built as universal
options={
"bdist_wheel": {
"universal": False, # Not Python 2 compatible
},
},
)