[
https://issues.apache.org/jira/browse/THRIFT-1984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jake Farrell reassigned THRIFT-1984:
------------------------------------
Assignee: Jake Farrell
> 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