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

George Sakkis commented on AIRFLOW-624:
---------------------------------------

Here's a fix that works (also for python-daemon 2.1.2):
{noformat}
diff --git a/setup.py b/setup.py
index b8fe677..917a967 100644
--- a/setup.py
+++ b/setup.py
@@ -24,7 +24,7 @@ logger = logging.getLogger(__name__)
 
 # Kept manually in sync with airflow.__version__
 version = imp.load_source(
-    'version', os.path.join('airflow', 'version.py')).version
+    'airflow.version', os.path.join('airflow', 'version.py')).version
{noformat}
 
 


> Setup.py error : attribute error: 'module' object has no attribute 
> 'changelogawaredistribution'
> -----------------------------------------------------------------------------------------------
>
>                 Key: AIRFLOW-624
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-624
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Siddharth Anand
>            Assignee: Siddharth Anand
>
> I ran setup.py within a fresh virtualenv.
> Setup.py is failing with the following error : 
> attribute error: 'module' object has no attribute 'changelogawaredistribution'
> This error occurs when installing python-daemon. It turns out this is related 
> to a new version of python daemon (2.1.2). 
> Pinning the version of python-daemon to 2.1.2 resolves the issue. 
> -            'python-daemon>=2.1.1, <2.2',
> +            'python-daemon>=2.1.1, <2.1.2',



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to