This repository has been archived by the owner on Mar 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
/
setup.py
66 lines (56 loc) · 1.87 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
"""Ibis BigQuery backend."""
import pathlib
import site
import sys
from typing import Dict
import setuptools
# See https://github.com/pypa/pip/issues/7953
site.ENABLE_USER_SITE = "--user" in sys.argv[1:]
# Package metadata.
name = "ibis-bigquery"
description = "Ibis BigQuery backend"
# Should be one of:
# 'Development Status :: 3 - Alpha'
# 'Development Status :: 4 - Beta'
# 'Development Status :: 5 - Production/Stable'
release_status = "Development Status :: 5 - Production/Stable"
package_root = pathlib.Path(__file__).parent
version_dict: Dict[str, str] = {}
with open(package_root / "ibis_bigquery" / "version.py") as fp:
exec(fp.read(), version_dict)
version = version_dict["__version__"]
readme_filename = package_root / "README.rst"
with open(readme_filename, encoding="utf-8") as readme_file:
readme = readme_file.read()
setuptools.setup(
name=name,
version=version,
description=description,
long_description=readme,
author="Ibis Contributors",
maintainer="Tim Swast",
maintainer_email="[email protected]",
url="https://github.com/ibis-project/ibis-bigquery",
packages=setuptools.find_packages(),
python_requires=">=3.7",
install_requires=[
"ibis-framework >=2.0.0,<4.0.0dev",
"db-dtypes>=0.3.0,<2.0.0dev",
"google-cloud-bigquery >=1.12.0,<4.0.0dev",
"google-cloud-bigquery-storage >=1.0.0,<3.0.0dev",
"packaging >= 17.0",
"pyarrow >=1.0.0,<10.0.0dev",
"pydata-google-auth",
"sqlalchemy>=1.4,<2.0",
],
classifiers=[
release_status,
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
],
license="Apache 2.0",
entry_points={"ibis.backends": ["bigquery = ibis_bigquery"]},
)