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-1594] Don't install test packages into python root.[]
Date Wed, 13 Sep 2017 08:11:44 GMT
Repository: incubator-airflow
Updated Branches:
  refs/heads/master a7a518902 -> a6b23a36e


[AIRFLOW-1594] Don't install test packages into python root.[]

By default `find_packages()` will find _any_ valid
python package,
including things under tests. We don't want to
install the tests
packages into the python path, so exclude those.

Closes #2597 from ashb/AIRFLOW-1594-dont-install-
tests


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

Branch: refs/heads/master
Commit: a6b23a36e0f26e7c750a307d846a0766a0590d58
Parents: a7a5189
Author: Ash Berlin-Taylor <ash_github@firemirror.com>
Authored: Wed Sep 13 10:11:39 2017 +0200
Committer: Bolke de Bruin <bolke@xs4all.nl>
Committed: Wed Sep 13 10:11:39 2017 +0200

----------------------------------------------------------------------
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/a6b23a36/setup.py
----------------------------------------------------------------------
diff --git a/setup.py b/setup.py
index 0ddc0f0..a97abfd 100644
--- a/setup.py
+++ b/setup.py
@@ -202,7 +202,7 @@ def do_setup():
         description='Programmatically author, schedule and monitor data pipelines',
         license='Apache License 2.0',
         version=version,
-        packages=find_packages(),
+        packages=find_packages(exclude=['tests*']),
         package_data={'': ['airflow/alembic.ini', "airflow/git_version"]},
         include_package_data=True,
         zip_safe=False,


Mime
View raw message