-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
111 lines (109 loc) · 2.92 KB
/
setup.py
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
from setuptools import setup, find_packages
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="dbtunnel",
author="Sri Tikkireddy",
author_email="[email protected]",
description="Run app and get cluster proxy url for it in databricks clusters",
long_description=long_description,
long_description_content_type="text/markdown",
package_data={
'dbtunnel': ['**/*.html'],
},
url="https://github.com/stikkireddy/dbtunnel",
packages=find_packages(),
install_requires=["nest_asyncio", "databricks-sdk>=0.18.0"],
setup_requires=["setuptools_scm"],
use_scm_version=True,
# TODO: start refactoring nest_asyncio only when async.run is needed
extras_require={
"fastapi": [
# Specify dependencies for building documentation here
"fastapi",
"uvicorn",
],
"uvicorn": [
# Specify dependencies for building documentation here
"uvicorn",
],
"streamlit": [
# Specify dependencies for building documentation here
"streamlit",
"pyarrow>=11",
],
"gradio": [
# Specify dependencies for building documentation here
"gradio==3.50.2",
],
"nicegui": [
# Specify dependencies for building documentation here
"nicegui",
],
"bokeh": [
"bokeh",
],
"flask": [
"flask",
"fastapi",
"uvicorn", # no websockets
],
"dash": [
"dash",
"fastapi",
"uvicorn", # no websockets
],
"sql": [
"databricks-sql-connector"
],
"solara": [
"solara",
],
"ngrok": [
# going back to pyngrok its more stable and easy to delete sessions
"pyngrok",
"ngrok-api",
"requests",
],
"chainlit": [
"chainlit",
"uvicorn",
],
"asgiproxy": [
"aiohttp",
"starlette",
"uvicorn",
"websockets",
"python-multipart", # we are using this for auth check via form uploads
"cachetools"
],
"shiny": [
"shiny",
],
"dev": [
"mkdocs-material",
"mkdocs-jupyter",
],
"cli": [
"click",
],
"arize-phoenix": [
"arize-phoenix"
],
"ray": [
"ray",
"fastapi",
],
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
entry_points={
'console_scripts': [
'dbtunnel = dbtunnel.cli.cli:cli',
],
},
python_requires=">=3.10",
)