You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Bolke de Bruin (JIRA)" <ji...@apache.org> on 2017/09/13 08:12:02 UTC

[jira] [Resolved] (AIRFLOW-1594) Installing via pip copies test files into python library dirs

     [ https://issues.apache.org/jira/browse/AIRFLOW-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bolke de Bruin resolved AIRFLOW-1594.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.9.0

Issue resolved by pull request #2597
[https://github.com/apache/incubator-airflow/pull/2597]

> 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)