airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-1594) Installing via pip copies test files into python library dirs
Date Wed, 13 Sep 2017 08:12:02 GMT

    [ https://issues.apache.org/jira/browse/AIRFLOW-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16164289#comment-16164289
] 

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)

Mime
View raw message