forked from mozilla/bigquery-etl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
63 lines (58 loc) · 1.58 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
from setuptools import find_namespace_packages, setup
def get_version():
version = {}
with open("bigquery_etl/_version.py") as fp:
exec(fp.read(), version)
return version["__version__"]
setup(
name="mozilla-bigquery-etl",
version=get_version(),
author="Mozilla Corporation",
author_email="[email protected]",
description="Tooling for building derived datasets in BigQuery",
url="https://github.com/mozilla/bigquery-etl",
packages=find_namespace_packages(include=["bigquery_etl.*", "bigquery_etl"]),
package_data={
"bigquery_etl": [
"query_scheduling/templates/*.j2",
"alchemer/*.json",
"stripe/*.json",
"stripe/*.yaml",
]
},
include_package_data=True,
install_requires=[
"gcloud",
"gcsfs",
"google-cloud-bigquery",
"google-cloud-storage",
"Jinja2",
"pyarrow",
"pytest-black",
"pytest-pydocstyle",
"pytest-flake8",
"pytest-mypy",
"pytest",
"PyYAML",
"smart_open",
"sqlparse",
"mozilla_schema_generator",
"GitPython",
"cattrs",
"attrs",
"typing",
"click",
"pandas",
"ujson",
"stripe",
"authlib",
],
extras_require={"java": ["pyjnius"]},
long_description="Tooling for building derived datasets in BigQuery",
long_description_content_type="text/markdown",
python_requires=">=3.7",
entry_points="""
[console_scripts]
bqetl=bigquery_etl.cli:cli
""",
)