[
https://issues.apache.org/jira/browse/AIRFLOW-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16164290#comment-16164290
]
ASF subversion and git services commented on AIRFLOW-1594:
----------------------------------------------------------
Commit a6b23a36e0f26e7c750a307d846a0766a0590d58 in incubator-airflow's branch
refs/heads/master from [~ashb]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=a6b23a3 ]
[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
> Installing via pip copies test files into python library dirs
> -------------------------------------------------------------
>
> Key: AIRFLOW-1594
> URL: https://issues.apache.org/jira/browse/AIRFLOW-1594
> Project: Apache Airflow
> Issue Type: Improvement
> Reporter: Ash Berlin-Taylor
> Fix For: 1.9.0
>
>
> The default way of installing airflow is to run {{pip install
> apache-airflow}} and when done this ends up installing the tests.* modules.
> i.e. we have:
> - /usr/local/lib/python3.6/site-packages/airflow/configuration.py (as we
> should)
> - /usr/local/lib/python3.6/site-packages/tests/jobs.py etc. (which we
> shouldn't!)
> A simple change to setup.py will fix this so we don't install the tests, but
> still include them when running the {{sdist}} command.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)