-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
100 lines (92 loc) · 2.81 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
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import os
import setuptools
name = "google-pso-data-validator"
description = "A package to enable easy data validation"
version = "4.5.0"
release_status = "Development Status :: 3 - Alpha"
with open("README.md", "r") as fh:
long_description = fh.read()
dependencies = [
# Dependency corrections from our requirements
"attrs==23.1.0",
"grpcio==1.53.0",
"lazy-object-proxy==1.9.0",
"marshmallow==3.19.0",
# Core dependencies
"fsspec>=2022.8.2",
"google-api-python-client==2.91.0",
"ibis-framework==5.1.0",
"impyla==0.18.0",
"SQLAlchemy==1.4.49",
"PyMySQL==1.1.0",
"psycopg2-binary==2.9.6",
"PyYAML==6.0",
"pandas==1.5.3",
"proto-plus==1.22.3",
"pyarrow==14.0.1",
"pydata-google-auth==1.8.0",
"google-cloud-bigquery==3.11.3",
"google-cloud-bigquery-storage==2.20.0",
"google-cloud-spanner==3.36.0",
"google-cloud-storage==2.10.0",
"setuptools>=34.0.0",
"jellyfish==1.0.0",
"tabulate==0.9.0",
"Flask==2.3.2",
"parsy==2.1",
"google-cloud-secret-manager<=2.15.0",
]
extras_require = {
"apache-airflow": "1.10.11",
"pyspark": "3.0.0",
}
packages = [
"data_validation",
"data_validation.query_builder",
"data_validation.result_handlers",
]
packages += [
"third_party.ibis.{}".format(path)
for path in setuptools.find_packages(where=os.path.join("third_party", "ibis"))
]
setuptools.setup(
name=name,
description=description,
version=version,
author="Dylan Hercher",
author_email="[email protected]",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/pypa/sampleproject",
packages=packages,
classifiers=[
release_status,
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Operating System :: OS Independent",
],
python_requires=">=3.8",
install_requires=dependencies,
extras_require=extras_require,
entry_points={
"console_scripts": [
"data-validation=data_validation.__main__:main",
]
},
)