This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
/
setup.py
58 lines (52 loc) · 2.02 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
from setuptools import find_packages, setup
import versioneer
with open("requirements.txt") as install_requires_file:
install_requires = install_requires_file.read().strip().split("\n")
with open("requirements-dev.txt") as dev_requires_file:
dev_requires = dev_requires_file.read().strip().split("\n")
with open("README.md") as readme_file:
readme = readme_file.read()
extras_require = {
"cloud_storage": ["google-cloud-storage"],
"bigquery": ["google-cloud-bigquery", "google-cloud-bigquery-storage"],
"secret_manager": ["google-cloud-secret-manager"],
"aiplatform": ["google-cloud-aiplatform"],
}
extras_require["all_extras"] = sorted(
{lib for key in extras_require.values() for lib in key}
)
extras_require["dev"] = dev_requires + extras_require["all_extras"]
setup(
name="prefect-gcp",
description="Prefect tasks and subflows for interacting with Google Cloud Platform.",
license="Apache License 2.0",
author="Prefect Technologies, Inc.",
author_email="[email protected]",
keywords="prefect",
url="https://github.com/PrefectHQ/prefect-gcp",
long_description=readme,
long_description_content_type="text/markdown",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
packages=find_packages(exclude=("tests", "docs")),
python_requires=">=3.7",
install_requires=install_requires,
extras_require=extras_require,
entry_points={
"prefect.collections": [
"prefect_gcp = prefect_gcp",
]
},
classifiers=[
"Natural Language :: English",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development :: Libraries",
],
)