You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by bo...@apache.org on 2017/09/13 08:11:44 UTC
incubator-airflow git commit: [AIRFLOW-1594] Don't install test
packages into python root.[]
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 <as...@firemirror.com>
Authored: Wed Sep 13 10:11:39 2017 +0200
Committer: Bolke de Bruin <bo...@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,