2016-06-16 00:39:12 +03:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
#
|
2018-04-14 10:13:23 +03:00
|
|
|
# Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
# or more contributor license agreements. See the NOTICE file
|
|
|
|
# distributed with this work for additional information
|
|
|
|
# regarding copyright ownership. The ASF licenses this file
|
|
|
|
# to you under the Apache License, Version 2.0 (the
|
|
|
|
# "License"); you may not use this file except in compliance
|
|
|
|
# with the License. You may obtain a copy of the License at
|
2018-04-25 13:23:59 +03:00
|
|
|
#
|
2018-04-14 10:13:23 +03:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2018-04-25 13:23:59 +03:00
|
|
|
#
|
2018-04-14 10:13:23 +03:00
|
|
|
# Unless required by applicable law or agreed to in writing,
|
|
|
|
# software distributed under the License is distributed on an
|
|
|
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
|
# KIND, either express or implied. See the License for the
|
|
|
|
# specific language governing permissions and limitations
|
|
|
|
# under the License.
|
2016-06-16 00:39:12 +03:00
|
|
|
|
2015-11-25 03:48:46 +03:00
|
|
|
from setuptools import setup, find_packages, Command
|
2015-10-06 16:43:44 +03:00
|
|
|
from setuptools.command.test import test as TestCommand
|
|
|
|
|
2016-08-31 22:32:12 +03:00
|
|
|
import imp
|
2016-05-17 01:36:09 +03:00
|
|
|
import logging
|
2015-11-25 03:48:46 +03:00
|
|
|
import os
|
2015-08-07 02:38:55 +03:00
|
|
|
import sys
|
2014-10-12 19:44:06 +04:00
|
|
|
|
2016-05-17 01:36:09 +03:00
|
|
|
logger = logging.getLogger(__name__)
|
|
|
|
|
2015-01-23 08:31:57 +03:00
|
|
|
# Kept manually in sync with airflow.__version__
|
2016-08-31 22:32:12 +03:00
|
|
|
version = imp.load_source(
|
2017-01-21 14:45:08 +03:00
|
|
|
'airflow.version', os.path.join('airflow', 'version.py')).version
|
2014-10-12 19:44:06 +04:00
|
|
|
|
2018-03-06 01:46:07 +03:00
|
|
|
PY3 = sys.version_info[0] == 3
|
2015-11-25 03:48:46 +03:00
|
|
|
|
2015-10-06 16:43:44 +03:00
|
|
|
class Tox(TestCommand):
|
|
|
|
user_options = [('tox-args=', None, "Arguments to pass to tox")]
|
|
|
|
def initialize_options(self):
|
|
|
|
TestCommand.initialize_options(self)
|
|
|
|
self.tox_args = ''
|
|
|
|
def finalize_options(self):
|
|
|
|
TestCommand.finalize_options(self)
|
|
|
|
self.test_args = []
|
|
|
|
self.test_suite = True
|
|
|
|
def run_tests(self):
|
|
|
|
#import here, cause outside the eggs aren't loaded
|
|
|
|
import tox
|
|
|
|
errno = tox.cmdline(args=self.tox_args.split())
|
|
|
|
sys.exit(errno)
|
|
|
|
|
2015-11-25 03:48:46 +03:00
|
|
|
|
|
|
|
class CleanCommand(Command):
|
|
|
|
"""Custom clean command to tidy up the project root."""
|
|
|
|
user_options = []
|
|
|
|
def initialize_options(self):
|
|
|
|
pass
|
|
|
|
def finalize_options(self):
|
|
|
|
pass
|
|
|
|
def run(self):
|
|
|
|
os.system('rm -vrf ./build ./dist ./*.pyc ./*.tgz ./*.egg-info')
|
|
|
|
|
|
|
|
|
2016-05-17 01:36:09 +03:00
|
|
|
def git_version(version):
|
2016-05-19 21:49:08 +03:00
|
|
|
"""
|
|
|
|
Return a version to identify the state of the underlying git repo. The version will
|
|
|
|
indicate whether the head of the current git-backed working directory is tied to a
|
|
|
|
release tag or not : it will indicate the former with a 'release:{version}' prefix
|
|
|
|
and the latter with a 'dev0' prefix. Following the prefix will be a sha of the current
|
|
|
|
branch head. Finally, a "dirty" suffix is appended to indicate that uncommitted changes
|
|
|
|
are present.
|
|
|
|
"""
|
|
|
|
repo = None
|
2016-05-17 01:36:09 +03:00
|
|
|
try:
|
|
|
|
import git
|
2016-05-19 21:49:08 +03:00
|
|
|
repo = git.Repo('.git')
|
2016-05-17 01:36:09 +03:00
|
|
|
except ImportError:
|
2017-02-18 19:12:14 +03:00
|
|
|
logger.warning('gitpython not found: Cannot compute the git version.')
|
2016-05-17 01:36:09 +03:00
|
|
|
return ''
|
2016-05-19 21:49:08 +03:00
|
|
|
except Exception as e:
|
2017-12-22 15:49:37 +03:00
|
|
|
logger.warning('Cannot compute the git version. {}'.format(e))
|
2016-05-17 01:36:09 +03:00
|
|
|
return ''
|
2016-05-19 21:49:08 +03:00
|
|
|
if repo:
|
|
|
|
sha = repo.head.commit.hexsha
|
|
|
|
if repo.is_dirty():
|
|
|
|
return '.dev0+{sha}.dirty'.format(sha=sha)
|
|
|
|
# commit is clean
|
2017-12-22 15:49:37 +03:00
|
|
|
return '.release:{version}+{sha}'.format(version=version, sha=sha)
|
2016-05-19 21:49:08 +03:00
|
|
|
else:
|
|
|
|
return 'no_git_version'
|
2016-05-17 01:36:09 +03:00
|
|
|
|
|
|
|
|
2016-05-19 21:49:08 +03:00
|
|
|
def write_version(filename=os.path.join(*['airflow',
|
|
|
|
'git_version'])):
|
|
|
|
text = "{}".format(git_version(version))
|
|
|
|
with open(filename, 'w') as a:
|
|
|
|
a.write(text)
|
2016-05-17 01:36:09 +03:00
|
|
|
|
2015-11-11 18:53:53 +03:00
|
|
|
async = [
|
|
|
|
'greenlet>=0.4.9',
|
|
|
|
'eventlet>= 0.9.7',
|
|
|
|
'gevent>=0.13'
|
|
|
|
]
|
2017-04-05 10:56:23 +03:00
|
|
|
azure = ['azure-storage>=0.34.0']
|
2017-10-18 22:27:14 +03:00
|
|
|
sendgrid = ['sendgrid>=5.2.0']
|
2015-09-28 05:41:23 +03:00
|
|
|
celery = [
|
[AIRFLOW-1967] Update Celery to 4.0.2
Update Celery to 4.0.2 for fixing error
TypeError: '<=' not supported between instances of
'NoneType' and 'int'
Hi all,
I'd like to update Celery to version 4.0.2. While
updating my Docker container to version 1.9, I
caught this error:
```
worker_1 | [2018-01-03 10:34:29,934:
CRITICAL/MainProcess] Unrecoverable error:
TypeError("'<=' not supported between instances of
'NoneType' and 'int'",)
worker_1 | Traceback (most recent call last):
worker_1 | File "/usr/local/lib/python3.6
/site-packages/celery/worker/worker.py", line 203,
in start
worker_1 | self.blueprint.start(self)
worker_1 | File "/usr/local/lib/python3.6
/site-packages/celery/bootsteps.py", line 115, in
start
worker_1 | self.on_start()
worker_1 | File "/usr/local/lib/python3.6
/site-packages/celery/apps/worker.py", line 143,
in on_start
worker_1 | self.emit_banner()
worker_1 | File "/usr/local/lib/python3.6
/site-packages/celery/apps/worker.py", line 159,
in emit_banner
worker_1 |
string(self.colored.reset(self.extra_info() or
'')),
worker_1 | File "/usr/local/lib/python3.6
/site-packages/celery/apps/worker.py", line 188,
in extra_info
worker_1 | if self.loglevel <=
logging.INFO:
worker_1 | TypeError: '<=' not supported
between instances of 'NoneType' and 'int'
```
This is because I've been running Python 2 in my
local environments, and the Docker image is Python
3:
https://github.com/puckel/docker-
airflow/pull/143/files
This is the issue in Celery:
https://github.com/celery/celery/blob/0dde9df9d8dd
5dbbb97ef75a81757bc2d9a4b33e/Changelog#L145
Make sure you have checked _all_ steps below.
### JIRA
- [x] My PR addresses the following [Airflow JIRA]
(https://issues.apache.org/jira/browse/AIRFLOW/)
issues and references them in the PR title. For
example, "[AIRFLOW-XXX] My Airflow PR"
- https://issues.apache.org/jira/browse/AIRFLOW-
XXX
### Description
- [x] Here are some details about my PR, including
screenshots of any UI changes:
### Tests
- [x] My PR adds the following unit tests __OR__
does not need testing for this extremely good
reason:
### Commits
- [x] My commits all reference JIRA issues in
their subject lines, and I have squashed multiple
commits if they address the same issue. In
addition, my commits follow the guidelines from
"[How to write a good git commit
message](http://chris.beams.io/posts/git-
commit/)":
1. Subject is separated from body by a blank line
2. Subject is limited to 50 characters
3. Subject does not end with a period
4. Subject uses the imperative mood ("add", not
"adding")
5. Body wraps at 72 characters
6. Body explains "what" and "why", not "how"
- [x] Passes `git diff upstream/master -u --
"*.py" | flake8 --diff`
Closes #2914 from Fokko/AIRFLOW-1967-update-celery
2018-01-03 20:20:00 +03:00
|
|
|
'celery>=4.0.2',
|
2015-09-28 05:41:23 +03:00
|
|
|
'flower>=0.7.3'
|
|
|
|
]
|
2017-01-19 05:11:01 +03:00
|
|
|
cgroups = [
|
|
|
|
'cgroupspy>=0.1.4',
|
|
|
|
]
|
2015-09-28 05:41:23 +03:00
|
|
|
crypto = ['cryptography>=0.9.3']
|
2017-02-13 00:06:31 +03:00
|
|
|
dask = [
|
2018-04-18 19:45:46 +03:00
|
|
|
'distributed>=1.17.1, <2'
|
2017-02-13 00:06:31 +03:00
|
|
|
]
|
2017-04-06 18:30:01 +03:00
|
|
|
databricks = ['requests>=2.5.1, <3']
|
2016-11-14 10:19:03 +03:00
|
|
|
datadog = ['datadog>=0.14.0']
|
2015-03-31 02:42:59 +03:00
|
|
|
doc = [
|
|
|
|
'sphinx>=1.2.3',
|
|
|
|
'sphinx-argparse>=0.1.13',
|
|
|
|
'sphinx-rtd-theme>=0.1.6',
|
|
|
|
'Sphinx-PyPI-upload>=0.2.1'
|
|
|
|
]
|
2016-01-17 12:44:06 +03:00
|
|
|
docker = ['docker-py>=1.6.0']
|
2018-03-14 11:20:16 +03:00
|
|
|
druid = ['pydruid>=0.4.1']
|
2018-04-13 12:09:50 +03:00
|
|
|
elasticsearch = [
|
|
|
|
'elasticsearch>=5.0.0,<6.0.0',
|
|
|
|
'elasticsearch-dsl>=5.0.0,<6.0.0'
|
|
|
|
]
|
2016-07-01 01:50:27 +03:00
|
|
|
emr = ['boto3>=1.0.0']
|
2016-03-05 00:07:04 +03:00
|
|
|
gcp_api = [
|
|
|
|
'httplib2',
|
2016-05-01 12:20:44 +03:00
|
|
|
'google-api-python-client>=1.5.0, <1.6.0',
|
|
|
|
'oauth2client>=2.0.2, <2.1.0',
|
2016-04-12 22:22:49 +03:00
|
|
|
'PyOpenSSL',
|
2018-01-03 22:16:39 +03:00
|
|
|
'google-cloud-dataflow>=2.2.0',
|
2017-05-09 19:42:32 +03:00
|
|
|
'pandas-gbq'
|
2016-03-05 00:07:04 +03:00
|
|
|
]
|
2016-03-04 00:32:21 +03:00
|
|
|
hdfs = ['snakebite>=2.7.8']
|
2015-11-06 22:48:53 +03:00
|
|
|
webhdfs = ['hdfs[dataframe,avro,kerberos]>=2.0.4']
|
2018-02-27 13:51:45 +03:00
|
|
|
jenkins = ['python-jenkins>=0.4.15']
|
2017-01-16 19:46:11 +03:00
|
|
|
jira = ['JIRA>1.0.7']
|
2015-03-31 08:00:30 +03:00
|
|
|
hive = [
|
2018-04-25 13:23:59 +03:00
|
|
|
'hmsclient>=0.1.0',
|
2015-03-31 08:00:30 +03:00
|
|
|
'pyhive>=0.1.3',
|
2016-03-05 22:15:41 +03:00
|
|
|
'impyla>=0.13.3',
|
2016-03-19 15:21:44 +03:00
|
|
|
'unicodecsv>=0.14.1'
|
2015-03-31 08:00:30 +03:00
|
|
|
]
|
2017-10-22 21:04:26 +03:00
|
|
|
jdbc = ['jaydebeapi>=1.1.1']
|
2016-03-19 15:21:44 +03:00
|
|
|
mssql = ['pymssql>=2.1.1', 'unicodecsv>=0.14.1']
|
2015-10-20 14:45:40 +03:00
|
|
|
mysql = ['mysqlclient>=1.3.6']
|
2016-03-21 21:04:32 +03:00
|
|
|
rabbitmq = ['librabbitmq>=1.6.1']
|
2015-09-28 05:41:23 +03:00
|
|
|
oracle = ['cx_Oracle>=5.1.2']
|
2018-02-24 18:16:00 +03:00
|
|
|
postgres = ['psycopg2-binary>=2.7.4']
|
2018-03-10 17:12:07 +03:00
|
|
|
ssh = ['paramiko>=2.1.1', 'pysftp>=0.2.9']
|
2016-11-18 22:10:32 +03:00
|
|
|
salesforce = ['simple-salesforce>=0.72']
|
2018-04-17 11:53:05 +03:00
|
|
|
s3 = ['boto3>=1.7.0']
|
2015-09-28 05:41:23 +03:00
|
|
|
samba = ['pysmbclient>=0.1.3']
|
2016-03-09 01:26:03 +03:00
|
|
|
slack = ['slackclient>=1.0.0']
|
2015-09-28 05:41:23 +03:00
|
|
|
statsd = ['statsd>=3.0.1, <4.0']
|
2015-09-17 12:14:56 +03:00
|
|
|
vertica = ['vertica-python>=0.5.1']
|
2015-11-05 19:03:53 +03:00
|
|
|
ldap = ['ldap3>=0.9.9.1']
|
2016-11-21 21:29:35 +03:00
|
|
|
kerberos = ['pykerberos>=1.1.13',
|
|
|
|
'requests_kerberos>=0.10.0',
|
2016-03-28 13:07:47 +03:00
|
|
|
'thrift_sasl>=0.2.0',
|
2018-03-06 01:46:07 +03:00
|
|
|
'snakebite[kerberos]>=2.7.8']
|
2015-11-30 20:47:36 +03:00
|
|
|
password = [
|
|
|
|
'bcrypt>=2.0.0',
|
|
|
|
'flask-bcrypt>=0.7.1',
|
|
|
|
]
|
2016-01-15 13:37:14 +03:00
|
|
|
github_enterprise = ['Flask-OAuthlib>=0.9.1']
|
2017-06-07 10:09:50 +03:00
|
|
|
qds = ['qds-sdk>=1.9.6']
|
2015-10-29 22:01:56 +03:00
|
|
|
cloudant = ['cloudant>=0.5.9,<2.0'] # major update coming soon, clamp to 0.x
|
2017-03-20 21:10:55 +03:00
|
|
|
redis = ['redis>=2.10.5']
|
2017-12-07 18:41:05 +03:00
|
|
|
kubernetes = ['kubernetes>=3.0.0',
|
|
|
|
'cryptography>=2.0.0']
|
2018-04-04 22:10:00 +03:00
|
|
|
snowflake = ['snowflake-connector-python>=1.5.2',
|
|
|
|
'snowflake-sqlalchemy>=1.1.0']
|
2018-03-06 01:46:07 +03:00
|
|
|
zendesk = ['zdesk']
|
|
|
|
|
2018-03-14 11:20:16 +03:00
|
|
|
all_dbs = postgres + mysql + hive + mssql + hdfs + vertica + cloudant + druid
|
2016-11-21 04:38:24 +03:00
|
|
|
devel = [
|
|
|
|
'click',
|
2016-11-23 21:18:46 +03:00
|
|
|
'freezegun',
|
2016-11-21 04:38:24 +03:00
|
|
|
'jira',
|
|
|
|
'lxml>=3.3.4',
|
|
|
|
'mock',
|
2017-10-08 20:30:07 +03:00
|
|
|
'moto==1.1.19',
|
2016-11-21 04:38:24 +03:00
|
|
|
'nose',
|
|
|
|
'nose-ignore-docstring==0.2',
|
2017-02-26 00:10:14 +03:00
|
|
|
'nose-timer',
|
2017-05-16 12:34:52 +03:00
|
|
|
'parameterized',
|
2017-10-31 17:02:07 +03:00
|
|
|
'qds-sdk>=1.9.6',
|
2017-07-20 23:07:30 +03:00
|
|
|
'rednose',
|
2017-08-18 22:34:03 +03:00
|
|
|
'paramiko',
|
2018-03-10 17:12:07 +03:00
|
|
|
'pysftp',
|
2017-08-18 22:34:03 +03:00
|
|
|
'requests_mock'
|
2016-11-21 04:38:24 +03:00
|
|
|
]
|
2018-02-05 22:52:28 +03:00
|
|
|
devel_minreq = devel + kubernetes + mysql + doc + password + s3 + cgroups
|
2016-03-21 21:04:32 +03:00
|
|
|
devel_hadoop = devel_minreq + hive + hdfs + webhdfs + kerberos
|
2018-03-06 01:46:07 +03:00
|
|
|
devel_all = (sendgrid + devel + all_dbs + doc + samba + s3 + slack + crypto + oracle +
|
|
|
|
docker + ssh + kubernetes + celery + azure + redis + gcp_api + datadog +
|
2018-04-04 22:10:00 +03:00
|
|
|
zendesk + jdbc + ldap + kerberos + password + webhdfs + jenkins +
|
2018-04-13 12:09:50 +03:00
|
|
|
druid + snowflake + elasticsearch)
|
2016-03-21 21:04:32 +03:00
|
|
|
|
2018-03-07 03:23:16 +03:00
|
|
|
# Snakebite & Google Cloud Dataflow are not Python 3 compatible :'(
|
2018-03-06 01:46:07 +03:00
|
|
|
if PY3:
|
2018-03-07 03:23:16 +03:00
|
|
|
devel_ci = [package for package in devel_all if package not in
|
|
|
|
['snakebite>=2.7.8', 'snakebite[kerberos]>=2.7.8',
|
|
|
|
'google-cloud-dataflow>=2.2.0']]
|
2018-03-06 01:46:07 +03:00
|
|
|
else:
|
|
|
|
devel_ci = devel_all
|
2016-06-20 15:19:34 +03:00
|
|
|
|
2016-05-17 01:36:09 +03:00
|
|
|
def do_setup():
|
|
|
|
write_version()
|
|
|
|
setup(
|
2017-04-17 11:09:47 +03:00
|
|
|
name='apache-airflow',
|
2016-05-17 01:36:09 +03:00
|
|
|
description='Programmatically author, schedule and monitor data pipelines',
|
|
|
|
license='Apache License 2.0',
|
|
|
|
version=version,
|
2017-09-13 11:11:39 +03:00
|
|
|
packages=find_packages(exclude=['tests*']),
|
2016-05-17 01:36:09 +03:00
|
|
|
package_data={'': ['airflow/alembic.ini', "airflow/git_version"]},
|
|
|
|
include_package_data=True,
|
|
|
|
zip_safe=False,
|
|
|
|
scripts=['airflow/bin/airflow'],
|
|
|
|
install_requires=[
|
|
|
|
'alembic>=0.8.3, <0.9',
|
2017-12-09 11:34:34 +03:00
|
|
|
'bleach==2.1.2',
|
2017-03-08 04:52:48 +03:00
|
|
|
'configparser>=3.5.0, <3.6.0',
|
2017-06-15 03:59:02 +03:00
|
|
|
'croniter>=0.3.17, <0.4',
|
2016-05-17 01:36:09 +03:00
|
|
|
'dill>=0.2.2, <0.3',
|
2018-03-23 11:18:48 +03:00
|
|
|
'flask>=0.12, <0.13',
|
|
|
|
'flask-appbuilder>=1.9.6, <2.0.0',
|
2016-06-14 13:22:05 +03:00
|
|
|
'flask-admin==1.4.1',
|
2018-01-15 23:12:03 +03:00
|
|
|
'flask-caching>=1.3.3, <1.4.0',
|
2016-05-17 01:36:09 +03:00
|
|
|
'flask-login==0.2.11',
|
2016-11-21 21:29:35 +03:00
|
|
|
'flask-swagger==0.2.13',
|
2017-12-22 15:57:47 +03:00
|
|
|
'flask-wtf>=0.14, <0.15',
|
2017-01-21 15:37:25 +03:00
|
|
|
'funcsigs==1.0.0',
|
2017-03-08 04:52:48 +03:00
|
|
|
'future>=0.16.0, <0.17',
|
2016-05-17 01:36:09 +03:00
|
|
|
'gitpython>=2.0.2',
|
2017-11-10 10:49:41 +03:00
|
|
|
'gunicorn>=19.4.0, <20.0',
|
2017-11-27 17:54:20 +03:00
|
|
|
'iso8601>=0.1.12',
|
2017-01-07 21:33:08 +03:00
|
|
|
'jinja2>=2.7.3, <2.9.0',
|
2016-11-21 04:06:47 +03:00
|
|
|
'lxml>=3.6.0, <4.0',
|
2016-05-17 01:36:09 +03:00
|
|
|
'markdown>=2.5.2, <3.0',
|
2016-09-04 16:16:37 +03:00
|
|
|
'pandas>=0.17.1, <1.0.0',
|
2018-03-24 11:01:54 +03:00
|
|
|
'pendulum==1.4.4',
|
2016-07-31 22:49:30 +03:00
|
|
|
'psutil>=4.2.0, <5.0.0',
|
2016-05-17 01:36:09 +03:00
|
|
|
'pygments>=2.0.1, <3.0',
|
2016-06-20 15:19:34 +03:00
|
|
|
'python-daemon>=2.1.1, <2.2',
|
2016-05-17 01:36:09 +03:00
|
|
|
'python-dateutil>=2.3, <3',
|
2018-03-27 17:08:53 +03:00
|
|
|
'python-nvd3==0.15.0',
|
2016-05-17 01:36:09 +03:00
|
|
|
'requests>=2.5.1, <3',
|
|
|
|
'setproctitle>=1.1.8, <2',
|
2017-12-29 14:28:51 +03:00
|
|
|
'sqlalchemy>=1.1.15, <1.2.0',
|
2017-11-11 15:32:02 +03:00
|
|
|
'sqlalchemy-utc>=0.9.0',
|
2016-07-31 22:49:30 +03:00
|
|
|
'tabulate>=0.7.5, <0.8.0',
|
2017-09-11 14:14:47 +03:00
|
|
|
'thrift>=0.9.2',
|
2017-11-11 13:27:48 +03:00
|
|
|
'tzlocal>=1.4',
|
2018-01-19 20:54:26 +03:00
|
|
|
'werkzeug>=0.14.1, <0.15.0',
|
2016-06-20 19:40:07 +03:00
|
|
|
'zope.deprecation>=4.0, <5.0',
|
2016-05-17 01:36:09 +03:00
|
|
|
],
|
2017-11-09 20:15:02 +03:00
|
|
|
setup_requires=[
|
|
|
|
'docutils>=0.14, <1.0',
|
|
|
|
],
|
2016-05-17 01:36:09 +03:00
|
|
|
extras_require={
|
|
|
|
'all': devel_all,
|
2018-03-06 01:46:07 +03:00
|
|
|
'devel_ci': devel_ci,
|
2016-05-17 01:36:09 +03:00
|
|
|
'all_dbs': all_dbs,
|
|
|
|
'async': async,
|
2017-04-05 10:56:23 +03:00
|
|
|
'azure': azure,
|
2016-05-17 01:36:09 +03:00
|
|
|
'celery': celery,
|
2017-01-19 05:11:01 +03:00
|
|
|
'cgroups': cgroups,
|
2016-06-20 15:19:34 +03:00
|
|
|
'cloudant': cloudant,
|
2016-05-17 01:36:09 +03:00
|
|
|
'crypto': crypto,
|
2017-02-13 00:06:31 +03:00
|
|
|
'dask': dask,
|
2017-04-06 18:30:01 +03:00
|
|
|
'databricks': databricks,
|
2016-11-14 10:19:03 +03:00
|
|
|
'datadog': datadog,
|
2016-05-17 01:36:09 +03:00
|
|
|
'devel': devel_minreq,
|
|
|
|
'devel_hadoop': devel_hadoop,
|
|
|
|
'doc': doc,
|
|
|
|
'docker': docker,
|
2018-03-14 11:20:16 +03:00
|
|
|
'druid': druid,
|
2018-04-13 12:09:50 +03:00
|
|
|
'elasticsearch': elasticsearch,
|
2016-11-21 04:06:47 +03:00
|
|
|
'emr': emr,
|
2016-05-17 01:36:09 +03:00
|
|
|
'gcp_api': gcp_api,
|
2016-06-20 15:19:34 +03:00
|
|
|
'github_enterprise': github_enterprise,
|
2016-05-17 01:36:09 +03:00
|
|
|
'hdfs': hdfs,
|
|
|
|
'hive': hive,
|
|
|
|
'jdbc': jdbc,
|
2016-06-20 15:19:34 +03:00
|
|
|
'kerberos': kerberos,
|
|
|
|
'ldap': ldap,
|
2016-05-17 01:36:09 +03:00
|
|
|
'mssql': mssql,
|
|
|
|
'mysql': mysql,
|
|
|
|
'oracle': oracle,
|
2016-06-20 15:19:34 +03:00
|
|
|
'password': password,
|
2016-05-17 01:36:09 +03:00
|
|
|
'postgres': postgres,
|
2016-06-20 15:19:34 +03:00
|
|
|
'qds': qds,
|
2016-05-17 01:36:09 +03:00
|
|
|
'rabbitmq': rabbitmq,
|
|
|
|
's3': s3,
|
2016-11-18 22:10:32 +03:00
|
|
|
'salesforce': salesforce,
|
2016-05-17 01:36:09 +03:00
|
|
|
'samba': samba,
|
2017-10-18 22:27:14 +03:00
|
|
|
'sendgrid' : sendgrid,
|
2016-05-17 01:36:09 +03:00
|
|
|
'slack': slack,
|
2017-07-20 23:07:30 +03:00
|
|
|
'ssh': ssh,
|
2016-05-17 01:36:09 +03:00
|
|
|
'statsd': statsd,
|
|
|
|
'vertica': vertica,
|
|
|
|
'webhdfs': webhdfs,
|
2017-01-16 19:46:11 +03:00
|
|
|
'jira': jira,
|
2017-03-20 21:10:55 +03:00
|
|
|
'redis': redis,
|
2018-04-04 22:10:00 +03:00
|
|
|
'kubernetes': kubernetes,
|
|
|
|
'snowflake': snowflake
|
2016-05-17 01:36:09 +03:00
|
|
|
},
|
2016-05-20 03:36:56 +03:00
|
|
|
classifiers=[
|
2016-05-17 01:36:09 +03:00
|
|
|
'Development Status :: 5 - Production/Stable',
|
|
|
|
'Environment :: Console',
|
|
|
|
'Environment :: Web Environment',
|
|
|
|
'Intended Audience :: Developers',
|
|
|
|
'Intended Audience :: System Administrators',
|
|
|
|
'License :: OSI Approved :: Apache Software License',
|
|
|
|
'Programming Language :: Python :: 2.7',
|
|
|
|
'Programming Language :: Python :: 3.4',
|
|
|
|
'Topic :: System :: Monitoring',
|
2016-05-20 03:36:56 +03:00
|
|
|
],
|
2017-02-24 01:48:03 +03:00
|
|
|
author='Apache Software Foundation',
|
|
|
|
author_email='dev@airflow.incubator.apache.org',
|
|
|
|
url='http://airflow.incubator.apache.org/',
|
2016-05-17 01:36:09 +03:00
|
|
|
download_url=(
|
2017-02-24 01:48:03 +03:00
|
|
|
'https://dist.apache.org/repos/dist/release/incubator/airflow/' + version),
|
2016-06-29 23:39:15 +03:00
|
|
|
cmdclass={
|
|
|
|
'test': Tox,
|
|
|
|
'extra_clean': CleanCommand,
|
|
|
|
},
|
2016-05-17 01:36:09 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
do_setup()
|