On python3.3 using a new(ish) version of setuptools, I'm not able to install the rsa package. I believe this is because the setup.py in the rsa package is trying to use an old version of distribute (via distribute_setup.py). To repro:
- Ensure you have a recent version of setuptools (the latest version env uses 0.9.8, and the latest setuptools release currently is 1.1.4).
python -c "import setuptools; print(setuptools.__version__)". I've repro'd on both 0.9.8 and 1.1.4
- Either run
pip install rsaor if you have the code locally
python setup.py install.
I get this error: https://gist.github.com/jamesls/ddf1098ae32a937eb589
Commenting out the lines 4-5 in the setup.py that boostrap distribute makes python 3 installs work for me (https://bitbucket.org/sybren/python-rsa/src/c17464ffc4fd4bc947f6caafeb220d15b02065c4/setup.py?at=default#cl-4).
Given that distribute and setuptools have merged and that the latest version of setuptools is 1.1.4, can the distribute_setup.py logic in setup.py be removed?