airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ash Berlin-Taylor (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AIRFLOW-1594) Installing via pip copies test files into python library dirs
Date Tue, 12 Sep 2017 10:16:00 GMT
Ash Berlin-Taylor created AIRFLOW-1594:
------------------------------------------

             Summary: 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


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