You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Ash Berlin-Taylor (JIRA)" <ji...@apache.org> on 2017/09/12 10:16:00 UTC
[jira] [Created] (AIRFLOW-1594) Installing via pip copies test
files into python library dirs
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)