Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #46283

Re: How to: Setuptools

Newsgroups comp.lang.python
Date 2013-05-28 06:35 -0700
References <bf45fdb5-e980-4828-b664-86093c030cc9@googlegroups.com> <22b6ddfe-100f-4ff5-853b-9ec4e2232e7a@h9g2000pbr.googlegroups.com> <mailman.2294.1369743978.3114.python-list@python.org> <1495a8dd-bbf5-4dda-8733-89d6db0240f1@g8g2000yqa.googlegroups.com>
Message-ID <c2915aee-a930-4857-9891-697c89889442@be10g2000pbd.googlegroups.com> (permalink)
Subject Re: How to: Setuptools
From rusi <rustompmody@gmail.com>

Show all headers | View raw


On May 28, 6:05 pm, ray <r...@aarden.us> wrote:
> On May 28, 7:26 am, Mark Lawrence <breamore...@yahoo.co.uk> wrote:
>
>
>
>
>
>
>
>
>
> > On 28/05/2013 13:03, rusi wrote:
>
> > > On May 28, 6:32 am, ray <r...@aarden.us> wrote:
> > >> I would like to use easy_install, but can't figure out how to install it.
>
> > >> I have 64-bit Python 2.7.5 on Windows 7.
>
> > >> Following the instructions onhttps://pypi.python.org/pypi/setuptools, it says:
> > >> Download ez_setup.py and run it; it will download the appropriate .egg file and install it for you. (Currently, the provided .exe installer does not support 64-bit versions of Python for Windows, due to a distutils installer compatibility issue
>
> > >> Being new to Python, I don't know what it means to "run it".  I am not sure what I am looking at when I open it as the first line is "#!python".
>
> > >> Looking down into the content of ez_setup.py, I find:
> > >> 'setuptools-0.6c10-py2.6.egg':
> > >> but there is no entry
> > >> 'setuptools-0.6c10-py2.7.egg':
>
> > >> Searching for it, I found a version at:https://pypi.python.org/packages/2.7/s/setuptools/
>
> > >> This appeared to be a linux version, the first line is:
> > >> #!/bin/sh
> > >> and the content seems to be encoded.
>
> > >> There is an exe athttps://pypi.python.org/pypi/setuptools, but the
> > >> instructions on the page state the .exe won't work for 64-bit installs.
>
> > >> Ray
>
> > > Since there seems to be no response to this, let me try (even though I
> > > am not on windows)
> > > Just point your browser at the link
> > >http://peak.telecommunity.com/dist/ez_setup.py
> > > And save the file ez_setup.py
>
> > > The more windows-y way of running this is to right-click this and edit
> > > the run-with in some way that I dont have at my finger-tips.
>
> > Do this, something goes wrong, no output to see.
>
> > > The more old-fashioned way is to start a dos-box (run cmd.exe)
> > > navigate to the directory where the ez_setup.py is saved
> > > from there run the command:
> > > python ez_setup.py
>
> > Do this, something goes wrong, output in front of you.
>
> > > Do that and report back on what happened
>
> > --
> > If you're using GoogleCrap� please read thishttp://wiki.python.org/moin/GoogleGroupsPython.
>
> > Mark Lawrence
>
> The installation fails.  The report stated it could not find the file.
> Per:
> Looking down into the content of ez_setup.py, I find:
> 'setuptools-0.6c10-py2.6.egg':
> but there is no entry
> 'setuptools-0.6c10-py2.7.egg':
>
> Since I am trying to install this for Python 2.7, it fails.
>
> Any suggestions?
>
> Ray

Mysterious...

If you are in hack mode you could try patching that file with the 2.7
egg name and md5
Both of them here https://pypi.python.org/pypi/setuptools

ie after this line
'setuptools-0.6c11-py2.6.egg': 'bfa92100bd772d5a213eedd356d64086',

add this line
'setuptools-0.6c11-py2.7.egg': 'fe1f997bc722265116870bc7919059ea',

However it maybe a better idea to ask on the distutils mailing list
http://mail.python.org/pipermail/distutils-sig/

[And let us know how/what happened!]

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How to:  Setuptools ray <ray@aarden.us> - 2013-05-27 18:32 -0700
  RE: How to:  Setuptools Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-28 04:45 +0300
    Re: How to: Setuptools rusi <rustompmody@gmail.com> - 2013-05-27 19:57 -0700
      RE: How to: Setuptools Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-28 06:06 +0300
        Re: How to: Setuptools rusi <rustompmody@gmail.com> - 2013-05-27 20:54 -0700
          RE: How to: Setuptools Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-28 07:09 +0300
            Re: How to: Setuptools rusi <rustompmody@gmail.com> - 2013-05-27 21:26 -0700
  Re: How to: Setuptools rusi <rustompmody@gmail.com> - 2013-05-28 05:03 -0700
    Re: How to: Setuptools Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-05-28 13:26 +0100
      Re: How to: Setuptools ray <ray@aarden.us> - 2013-05-28 06:05 -0700
        Re: How to: Setuptools rusi <rustompmody@gmail.com> - 2013-05-28 06:35 -0700
        Re: How to: Setuptools Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-05-28 14:40 +0100
          Re: How to: Setuptools rusi <rustompmody@gmail.com> - 2013-05-28 06:54 -0700
  Re: How to: Setuptools Michael Herman <hermanmu@gmail.com> - 2013-05-28 13:59 -0700
  Re: How to:  Setuptools ray <ray@aarden.us> - 2013-05-28 19:11 -0700

csiph-web