airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject incubator-airflow git commit: [AIRFLOW-1000] Rebrand distribution to Apache Airflow
Date Mon, 17 Apr 2017 09:28:09 GMT
Repository: incubator-airflow
Updated Branches:
  refs/heads/v1-8-test a9e0894ba -> bc52d092b


[AIRFLOW-1000] Rebrand distribution to Apache Airflow

Per Apache requirements Airflow should be branded
Apache Airflow.
It is impossible to provide a forward compatible
automatic update
path and users will be required to manually
upgrade.

Closes #2172 from bolkedebruin/AIRFLOW-1000

(cherry picked from commit 4fb05d8cc7a69255c6bff33c7f856eb4a341d5f2)
Signed-off-by: Bolke de Bruin <bolke@xs4all.nl>


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/bc52d092
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/bc52d092
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/bc52d092

Branch: refs/heads/v1-8-test
Commit: bc52d092b5194c3a389c19ce45c2c2bdda3bf265
Parents: a9e0894
Author: Bolke de Bruin <bolke@xs4all.nl>
Authored: Mon Apr 17 10:09:47 2017 +0200
Committer: Bolke de Bruin <bolke@xs4all.nl>
Committed: Mon Apr 17 11:27:51 2017 +0200

----------------------------------------------------------------------
 .rat-excludes |  1 +
 setup.py      | 13 ++++++++++++-
 2 files changed, 13 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/bc52d092/.rat-excludes
----------------------------------------------------------------------
diff --git a/.rat-excludes b/.rat-excludes
index 1363766..1238abb 100644
--- a/.rat-excludes
+++ b/.rat-excludes
@@ -13,6 +13,7 @@ docs
 dist
 build
 airflow.egg-info
+apache_airflow.egg-info
 .idea
 metastore_db
 .*sql

http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/bc52d092/setup.py
----------------------------------------------------------------------
diff --git a/setup.py b/setup.py
index 43b97d3..7426ce9 100644
--- a/setup.py
+++ b/setup.py
@@ -18,6 +18,7 @@ from setuptools.command.test import test as TestCommand
 import imp
 import logging
 import os
+import pip
 import sys
 
 logger = logging.getLogger(__name__)
@@ -99,6 +100,15 @@ def write_version(filename=os.path.join(*['airflow',
         a.write(text)
 
 
+def check_previous():
+    installed_packages = ([package.project_name for package
+                           in pip.get_installed_distributions()])
+    if 'airflow' in installed_packages:
+        print("An earlier non-apache version of Airflow was installed, "
+              "please uninstall it first. Then reinstall.")
+        sys.exit(1)
+
+
 async = [
     'greenlet>=0.4.9',
     'eventlet>= 0.9.7',
@@ -184,9 +194,10 @@ devel_all = devel + all_dbs + doc + samba + s3 + slack + crypto + oracle
+ docke
 
 
 def do_setup():
+    check_previous()
     write_version()
     setup(
-        name='airflow',
+        name='apache-airflow',
         description='Programmatically author, schedule and monitor data pipelines',
         license='Apache License 2.0',
         version=version,


Mime
View raw message