generated from broomva/databricks_session
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
172 lines (155 loc) · 4.46 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
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
161
162
163
164
165
166
167
168
169
170
171
172
import glob
import io
import os
import sys
import setuptools
from setuptools import find_namespace_packages, find_packages
# Package metadata.
# name = "vortex-python"
# description = (
# "A simple util to get a spark and mlflow session objects from an .env file"
# )
# package_root = os.path.abspath(os.path.dirname(__file__))
# version = {}
# with open(os.path.join(package_root, "version.py")) as fp:
# exec(fp.read(), version)
# version = version["__version__"]
# readme_filename = os.path.join(package_root, "README.md")
# with io.open(readme_filename, encoding="utf-8") as readme_file:
# readme = readme_file.read()
# Should be one of:
# 'Development Status :: 3 - Alpha'
# 'Development Status :: 4 - Beta'
# 'Development Status :: 5 - Production/Stable'
# release_status = "Development Status :: 3 - Alpha"
# with open("requirements.txt") as f:
# required = f.read().splitlines()
# # if sys.version_info < (3, 8):
# # find_namespace_packages()
# # print("Error: vortex does not support this version of Python.")
# # print("Please upgrade to Python 3.8 or higher.")
# # sys.exit(1)
# def prepare_data_files(directory, extensions):
# files = []
# for ext in extensions:
# files.extend(glob.glob(f"{directory}/*.{ext}"))
# return files
# data_files_structure = [
# (
# "vortex",
# prepare_data_files(
# "vortex",
# ["csv", "sql", "txt", "md", "html", "css", "json", "yaml", "faiss", "pkl"],
# ),
# ),
# ]
setuptools.setup(
name="vortex-python",
version="0.2.4",
packages=find_packages(exclude=["vortex_tests"]),
author="Carlos D. Escobar-Valbuena",
author_email="[email protected]",
license="MIT",
install_requires=[
"dagster",
"dagster-cloud",
"boto3",
"pandas",
"matplotlib",
"langchain",
"langchain_openai",
"openai",
"sqlalchemy",
"psycopg2-binary",
"pyautogen",
"bs4",
"langchainhub",
"langchain-community",
"selenium",
"html2text",
"chainlit",
"faiss-cpu",
"chromadb",
"tiktoken",
"pymupdf",
# "duckduckgo",
"wikipedia",
"sendgrid",
],
extras_require={"dev": ["dagster-webserver", "pytest"]},
)
# setuptools.setup(
# name="vortex-python",
# version="0.1.2",
# description="Versatile Orchestrated Execution Engine for Data & AI Pipelines",
# # long_description=readme,
# long_description_content_type="text/markdown",
# author="Carlos D. Escobar-Valbuena",
# author_email="[email protected]",
# license="MIT",
# classifiers=[
# release_status,
# "License :: OSI Approved :: MIT License",
# "Operating System :: OS Independent",
# "Development Status :: 3 - Alpha",
# "Intended Audience :: Developers",
# "Programming Language :: Python" "Programming Language :: Python :: 3.11",
# "Topic :: Software Development :: Libraries :: Python Modules",
# ],
# packages=find_packages(exclude=["vortex_tests"]),
# install_requires=[
# "pydantic",
# "python-dotenv",
# "typing-extensions",
# "urllib3",
# "dagster",
# "pandas",
# "langchain",
# "langchain-openai",
# "openai",
# "sqlalchemy",
# "psycopg2-binary",
# "bs4",
# "dagster-webserver",
# "langchainhub",
# "selenium",
# "html2text",
# "chainlit",
# "chromadb",
# "tiktoken",
# "pymupdf",
# "duckduckgo-search",
# "wikipedia",
# "mlflow",
# "sendgrid",
# ],
# extras_require={"dev": ["dagster-webserver", "pytest"]},
# python_requires=">=3.8",
# include_package_data=True,
# setup_requires=["setuptools", "wheel"],
# tests_require=["pytest"],
# test_suite="tests",
# zip_safe=False,
# url="https://github.com/Broomva/vortex",
# package_data={
# "vortex": [
# "*.json",
# "*.yaml",
# "*.sql",
# "*.csv",
# "*.txt",
# "*.md",
# "*.html",
# "*.css",
# "*.pkl",
# "*.faiss",
# ],
# },
# # data_files=data_files_structure,
# py_modules=["main"],
# entry_points={
# "console_scripts": [
# "vortex=main:main",
# ],
# },
# )