Skip to content

Commit

Permalink
[AIRFLOW-1594] Don't install test packages into python root.[]
Browse files Browse the repository at this point in the history
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 apache#2597 from ashb/AIRFLOW-1594-dont-install-
tests
  • Loading branch information
ashb authored and bolkedebruin committed Sep 13, 2017
1 parent a7a5189 commit a6b23a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a6b23a3

Please sign in to comment.