bigquery-etl/setup.py

52 строки
1.4 KiB
Python
Исходник Обычный вид История

2020-07-29 01:52:30 +03:00
from setuptools import setup, find_namespace_packages
2020-07-27 22:40:25 +03:00
def get_version():
version = {}
2020-07-29 01:52:30 +03:00
with open('bigquery_etl/_version.py') as fp:
2020-07-27 22:40:25 +03:00
exec(fp.read(), version)
return version['__version__']
2020-07-24 00:40:28 +03:00
setup(
name="mozilla-bigquery-etl",
2020-07-27 22:40:25 +03:00
version=get_version(),
2020-07-24 00:40:28 +03:00
author="Mozilla Corporation",
author_email="fx-data-dev@mozilla.org",
description="Tooling for building derived datasets in BigQuery",
url="https://github.com/mozilla/bigquery-etl",
2020-07-29 01:52:30 +03:00
packages=find_namespace_packages(include=["bigquery_etl.*", "bigquery_etl"]),
package_data={'bigquery_etl': ['query_scheduling/templates/*.j2', 'alchemer/*.json']},
2020-08-21 01:15:29 +03:00
include_package_data=True,
2020-07-24 00:40:28 +03:00
install_requires=[
"gcloud",
"google-cloud-bigquery",
"google-cloud-storage",
"Jinja2",
"pytest-black",
"pytest-docstyle",
"pytest-flake8",
"pytest-mypy",
"pytest",
"PyYAML",
"smart_open",
"sqlparse",
"mozilla_schema_generator",
"GitPython",
"cattrs",
"attrs",
"typing",
"click",
"pandas",
2020-10-02 02:12:52 +03:00
"ujson",
"stripe",
2020-07-24 00:40:28 +03:00
],
long_description="Tooling for building derived datasets in BigQuery",
long_description_content_type="text/markdown",
python_requires=">=3.8",
2020-07-24 00:40:28 +03:00
entry_points="""
[console_scripts]
2020-08-21 20:43:04 +03:00
bqetl=bigquery_etl.cli:cli
2020-07-24 00:40:28 +03:00
""",
2020-07-27 22:43:07 +03:00
)