On Thu, Oct 6, 2011 at 3:37 PM, Amaury Forgeot d'Arc <amaur...@gmail.com>wrote:
2011/10/6 Ram Rachum <r...@rachum.com>: > > I remember that I had trouble using `easy_install` when I was just > setting > > up PyPy 1.6 on my XP box. > > > I had no time to document it at that time, but I believe my workflow was > to > > download and run distribute_setup.py, then do `easy_install pip`, and > then > > `pip install nose`, and it didn't work so I resorted to downloading > tarballs > > manually and running `setup.py install`, which worked. > > > Can you add this to the test suite? I think it's something that needs to > be > > tested automatically before any PyPy release on any platform. > > I don't think there are tests for an "installed" interpreter at the moment. > Do you remember the issues you had at the time? > > -- > Amaury Forgeot d'Arc > I reproduced it now on a VM: 1. Install Distribute using `distribute_setup.py`. 2. `easy_install pip`, the `pip` script does get installed, but not properly: Searching for pip Reading http://pypi.python.org/simple/pip/ Reading http://www.pip-installer.org Reading http://pip.openplans.org Best match: pip 1.0.2 Downloading http://pypi.python.org/packages/source/p/pip/pip-1.0.2.tar.gz#md5=47 ec6ff3f6d962696fe08d4c8264ad49 Processing pip-1.0.2.tar.gz Running pip-1.0.2\setup.py -q bdist_egg --dist-dir c:\docume~1\admini~1\locals~1 \temp\easy_install-5ffmhm\pip-1.0.2\egg-dist-tmp-w739em warning: no files found matching '*.html' under directory 'docs' warning: no previously-included files matching '*.txt' found under directory 'do cs\_build' no previously-included directories found matching 'docs\_build\_sources' No eggs found in c:\docume~1\admini~1\locals~1\temp\easy_install-5ffmhm\pip-1.0. 2\egg-dist-tmp-w739em (setup script problem?) 3. `pip install nose`: You get an error: Traceback (most recent call last): File "app_main.py", line 53, in run_toplevel File "c:\Documents and Settings\Administrator\Desktop\pypy-1.6\bin\pip-script. py", line 5, in <module> from pkg_resources import load_entry_point File "c:\Documents and Settings\Administrator\Desktop\pypy-1.6\site-packages\d istribute-0.6.21-py2.7.egg\pkg_resources.py", line 2709, in <module> working_set.require(__requires__) File "c:\Documents and Settings\Administrator\Desktop\pypy-1.6\site-packages\d istribute-0.6.21-py2.7.egg\pkg_resources.py", line 686, in require needed = self.resolve(parse_requirements(requirements)) File "c:\Documents and Settings\Administrator\Desktop\pypy-1.6\site-packages\d istribute-0.6.21-py2.7.egg\pkg_resources.py", line 584, in resolve raise DistributionNotFound(req) DistributionNotFound: pip==1.0.2 Any clue?
_______________________________________________ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev