-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
40 lines (36 loc) · 1.25 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
from setuptools import find_packages, setup
from airflow_fxiaoke import get_provider_info
with open("README.md", "r") as fh:
long_description = fh.read()
provider = get_provider_info()
"""Perform the package airflow-provider-fxiaoke setup."""
setup(
name=provider['package-name'],
version=provider['versions'][0],
description=provider['description'],
long_description=long_description,
long_description_content_type='text/markdown',
entry_points={
"apache_airflow_provider": [
"provider_info=airflow_fxiaoke.__init__:get_provider_info"
]
},
license='Apache License 2.0',
packages=find_packages(include=[
'airflow_fxiaoke',
'airflow_fxiaoke.hooks',
'airflow_fxiaoke.operators'
]),
package_data={'airflow_fxiaoke': ['./provider.yaml',]},
install_requires=provider['additional-dependencies'],
setup_requires=['setuptools', 'wheel'],
author='wbin',
author_email='[email protected]',
url='https://github.com/wbchn/apache-airflow-providers-fxiaoke',
classifiers=[
"Framework :: Apache Airflow",
"Framework :: Apache Airflow :: Provider",
],
keywords=['airflow', 'providers', 'fxiaoke', 'ShareCRM'],
python_requires='~=3.8',
)