forked from mage-ai/mage-ai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
101 lines (96 loc) · 3.1 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
101
import setuptools
def readme():
with open('README.md', encoding='utf8') as f:
README = f.read()
return README
requirements = []
with open('requirements.txt') as f:
for line in f.read().splitlines():
if line.startswith('# extras'):
break
requirements.append(line)
setuptools.setup(
name='mage-ai',
# NOTE: when you change this, change the value of VERSION in the following file:
# mage_ai/server/constants.py
version='0.7.75',
author='Mage',
author_email='eng@mage.ai',
description='Mage is a tool for building and deploying data pipelines.',
long_description=readme(),
long_description_content_type='text/markdown',
url='https://github.com/mage-ai/mage-ai',
packages=setuptools.find_packages('.'),
include_package_data=True,
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
],
install_requires=requirements,
python_requires='>=3.6',
entry_points={
'console_scripts': [
'mage=mage_ai.cli.main:main',
],
},
extras_require={
'azure': [
'azure-identity',
'azure-keyvault-secrets',
'azure-keyvault-certificates',
'azure-storage-blob',
],
'bigquery': [
'google-cloud-bigquery~=2.34.4',
'db-dtypes==1.0.2',
],
'dbt': [
'dbt-bigquery==1.3.0',
'dbt-core==1.3.0',
'dbt-postgres==1.3.0',
'dbt-snowflake==1.3.0',
],
'google-cloud-storage': ['google-cloud-storage==2.5.0'],
'hdf5': ['tables==3.7.0'],
'mysql': [
'mysql-connector-python==8.0.31',
],
'postgres': ['psycopg2-binary==2.9.3'],
'redshift': ['boto3==1.24.19', 'redshift-connector==2.0.909'],
's3': ['botocore==1.27.19', 'boto3==1.24.19'],
'snowflake': ['snowflake-connector-python==2.7.9'],
'spark': ['botocore==1.27.19', 'boto3==1.24.19'],
'streaming': [
'kafka-python',
'opensearch-py',
'requests_aws4auth',
],
'all': [
'aws-secretsmanager-caching==1.1.1.5',
'azure-identity',
'azure-keyvault-secrets',
'azure-keyvault-certificates',
'azure-storage-blob',
'botocore==1.27.19',
'boto3==1.24.19',
'db-dtypes==1.0.5',
'dbt-core==1.3.0',
'dbt-postgres==1.3.0',
'dbt-bigquery==1.3.0',
'dbt-snowflake==1.3.0',
'google-api-python-client==2.70.0',
'google-cloud-bigquery~=2.34.4',
'google-cloud-iam==2.9.0',
'google-cloud-run==0.4.2',
'google-cloud-storage==2.5.0',
'kafka-python',
'kubernetes==25.3.0',
'opensearch-py',
'psycopg2-binary==2.9.3',
'redshift-connector==2.0.909',
'requests_aws4auth',
'snowflake-connector-python==2.7.9',
],
},
)