Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.9
-
None
-
*nix
Description
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.