-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
75 lines (71 loc) · 2.26 KB
/
setup.py
File metadata and controls
75 lines (71 loc) · 2.26 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
#!/usr/bin/env python
"""Setup script for lancedb-cli."""
from setuptools import setup, find_packages
from pathlib import Path
# Read the README for the long description
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
# Read version from package
version = {}
with open("lancedb_cli/__init__.py", "r", encoding="utf-8") as f:
for line in f:
if line.startswith("__version__"):
exec(line, version)
break
setup(
name="lancedb-cli",
version=version["__version__"],
author="Davide Dal Farra",
author_email="davide@codref.org",
description="A minimal command line application for managing LanceDB databases",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/codref/lancedb-cli",
license="Apache-2.0",
packages=find_packages(),
python_requires=">=3.8",
install_requires=[
"lancedb>=0.1.0",
"duckdb>=0.5.0",
"pandas>=1.0.0",
"typer[all]>=0.9.0",
"rich>=13.0.0",
"prompt-toolkit>=3.0.0",
"pygments>=2.0.0",
],
extras_require={
"dev": [
"pytest>=7.0",
"pytest-cov>=4.0",
"black>=23.0",
"isort>=5.0",
"flake8>=6.0",
"mypy>=1.0",
],
},
entry_points={
"console_scripts": [
"lsql=lancedb_cli.__main__:main",
],
},
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"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",
"Topic :: Database",
"Topic :: Utilities",
],
keywords="lancedb cli database duckdb",
project_urls={
"Bug Tracker": "https://github.com/codref/lancedb-cli/issues",
"Documentation": "https://github.com/codref/lancedb-cli#readme",
"Source Code": "https://github.com/codref/lancedb-cli",
},
)