2018-08-01 12:25:31 +03:00
|
|
|
# INSTALL / BUILD instructions for Apache Airflow (incubating)
|
|
|
|
|
|
|
|
# [required] fetch the tarball and untar the source
|
|
|
|
# change into the directory that was untarred.
|
2017-09-11 16:23:29 +03:00
|
|
|
|
|
|
|
# [optional] run Apache RAT (release audit tool) to validate license headers
|
2018-08-01 12:25:31 +03:00
|
|
|
# RAT docs here: https://creadur.apache.org/rat/. Requires Java and Apache Rat
|
2017-09-11 16:23:29 +03:00
|
|
|
java -jar apache-rat.jar -E ./.rat-excludes -d .
|
|
|
|
|
2018-08-01 12:25:31 +03:00
|
|
|
# [optional] Airflow pulls in quite a lot of dependencies in order
|
|
|
|
# to connect to other services. You might want to test or run Airflow
|
|
|
|
# from a virtual env to make sure those dependencies are separated
|
|
|
|
# from your system wide versions
|
|
|
|
python -m my_env
|
|
|
|
source my_env/bin/activate
|
|
|
|
|
|
|
|
# [required] by default one of Apache Airflow's dependencies pulls in a GPL
|
|
|
|
# library. Airflow will not install (and upgrade) without an explicit choice.
|
|
|
|
#
|
|
|
|
# To make sure not to install the GPL dependency:
|
|
|
|
# export SLUGIFY_USES_TEXT_UNIDECODE=yes
|
|
|
|
# In case you do not mind:
|
2018-08-23 15:05:36 +03:00
|
|
|
# export AIRFLOW_GPL_UNIDECODE=yes
|
2018-08-01 12:25:31 +03:00
|
|
|
|
|
|
|
# [required] building and installing
|
|
|
|
# by pip (preferred)
|
|
|
|
pip install .
|
2018-03-27 17:15:21 +03:00
|
|
|
|
2018-08-01 12:25:31 +03:00
|
|
|
# or directly
|
2017-09-11 16:23:29 +03:00
|
|
|
python setup.py install
|