2019-01-05 17:05:25 +03:00
|
|
|
# INSTALL / BUILD instructions for Apache Airflow
|
2018-08-01 12:25:31 +03:00
|
|
|
|
|
|
|
# [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] 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
|