Closed nicois closed 10 years ago
Nice idea, but it needs bit more testing before it can be recommended to everyone. In many cases I could not install Python 2 packages with pep3
, and your solution seems to work only if you are able to install it properly. Can you even import Py2 package? I think it can be very messy.
Hi.
I agree, it can only be considered beta at the moment. I only started putting it together a week or two ago, so there hasn't been much real-world exposure for it. Catch-22.
Maybe I need to improve my documentation, as you do not use pip3 to install the python2 packages: you should be using the python2 pip to install the python2 packages:
In a python3 (virtual) env:
pip3 install sux
Create your python2 virtualenv and install the naughty package(s):
export PY2_VIRTUAL_ENV="/tmp/sux-to-use-python2" virtualenv -ppython2 "$PY2_VIRTUAL_ENV" "$PY2_VIRTUAL_ENV"/bin/pip install boto
On 30 July 2014 01:34, Nar Kumar notifications@github.com wrote:
Nice idea, but it needs bit more testing before it can be recommended to everyone. In many cases I could not install Python 2 packages with pep3, and your solution seems to work only if you are able to install it properly. Can you even import Py2 package? I think it can be very messy.
— Reply to this email directly or view it on GitHub https://github.com/chhantyal/py3readiness/pull/5#issuecomment-50493382.
Hi, I've create a python package for helping people who've converted to python3, but then discover one or two legacy packages which are too painful to port.
I was thinking it would be helpful to provide a reference to this package on this site.