You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jake Farrell (JIRA)" <ji...@apache.org> on 2013/05/30 01:18:20 UTC

[jira] [Commented] (THRIFT-1984) namespace collision in python bindings

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

Jake Farrell commented on THRIFT-1984:
--------------------------------------

Thanks Jonathan, will get this taken care of
                
> namespace collision in python bindings
> --------------------------------------
>
>                 Key: THRIFT-1984
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1984
>             Project: Thrift
>          Issue Type: Bug
>          Components: Python - Library
>    Affects Versions: 0.9
>         Environment: *nix
>            Reporter: jonathan
>            Assignee: Jake Farrell
>            Priority: Minor
>
> There's a namespace collision in 
> 1. Thrift Python bindings ( https://github.com/apache/thrift/blob/0.9.x/lib/py/setup.py )
> 2. FB303 Python bindings ( https://github.com/apache/thrift/blob/0.9.x/contrib/fb303/py/setup.py )
> both claim the package name "thrift", leading one to overwrite the other ( at least when the default egg behavior is enabled ) when you try to install both.
> The ways to fix it are:
> 1. simple - change the 'name' in the fb303 `setup.py` to 'fb303' or 'thrift_fb303'
> 2. complex - have both use a Namespace Package ( http://pythonhosted.org/distribute/setuptools.html#namespace-packages ) 
> i just used the simple fix locally.  it works fine.
> i'm not sure if the fb303 is actually used by anything anymore.  the way the repo is currently set though, it's not easy to install both packages.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira