Re: MySQLdb install vs. "setuptools"

2010-05-30 Thread Benjamin Kaplan
On Sun, May 30, 2010 at 3:16 PM, John Nagle wrote: > Antoine Pitrou wrote: > >> On Sun, 30 May 2010 10:10:00 -0700 >> John Nagle wrote: >> >>> Actually, a "built" but "uninstalled" Python works fine. >>> If it >>> didn't, "make test" wouldn't work. >>> >> >> That's a completely unrelated th

Re: MySQLdb install vs. "setuptools"

2010-05-30 Thread David Cournapeau
On Mon, May 31, 2010 at 7:16 AM, John Nagle wrote: >    It's nice that some of the options work.  Note that someone who > used "--bindir", expecting it to work, might end up overwriting their > existing Python installation unintentionally, which would break system > administration tools like cPan

Re: MySQLdb install vs. "setuptools"

2010-05-30 Thread Antoine Pitrou
On Sun, 30 May 2010 15:16:42 -0700 John Nagle wrote: > > It's nice that some of the options work. Note that someone who > used "--bindir", expecting it to work, might end up overwriting their > existing Python installation unintentionally, which would break system > administration tools lik

Re: MySQLdb install vs. "setuptools"

2010-05-30 Thread John Nagle
Antoine Pitrou wrote: On Sun, 30 May 2010 10:10:00 -0700 John Nagle wrote: Actually, a "built" but "uninstalled" Python works fine. If it didn't, "make test" wouldn't work. That's a completely unrelated thing. The main reason "make test" works with an uninstalled Python is simply so tha

Re: MySQLdb install vs. "setuptools"

2010-05-30 Thread Antoine Pitrou
On Sun, 30 May 2010 10:10:00 -0700 John Nagle wrote: > > Actually, a "built" but "uninstalled" Python works fine. > If it > didn't, "make test" wouldn't work. That's a completely unrelated thing. The main reason "make test" works with an uninstalled Python is simply so that the core develo

Re: MySQLdb install vs. "setuptools"

2010-05-30 Thread John Nagle
John Nagle wrote: David Cournapeau wrote: On Sun, May 30, 2010 at 3:56 PM, John Nagle wrote: MySQLdb won't install as non-root on Python 2.6 because its "setup.py" file requires "setuptools". "setuptools", unlike "distutils", isn't part of the Python 2.6 distribution. IMPORTANT PACKAGES

Re: MySQLdb install vs. "setuptools"

2010-05-30 Thread John Nagle
Antoine Pitrou wrote: Really, this shouldn't happen if you really are using a non-root version of Python: [Errno 2] No such file or directory: '/usr/local/lib/python2.6/site-packages/test-easy-install-22015.write-test' I don't think setuptools is dumb enough to hardcode things like "/usr

Re: MySQLdb install vs. "setuptools"

2010-05-30 Thread John Nagle
David Cournapeau wrote: On Sun, May 30, 2010 at 3:56 PM, John Nagle wrote: MySQLdb won't install as non-root on Python 2.6 because its "setup.py" file requires "setuptools". "setuptools", unlike "distutils", isn't part of the Python 2.6 distribution. IMPORTANT PACKAGES SHOULD NOT USE "set

Re: MySQLdb install vs. "setuptools"

2010-05-30 Thread David Cournapeau
On Sun, May 30, 2010 at 3:56 PM, John Nagle wrote: >   MySQLdb won't install as non-root on Python 2.6 because > its "setup.py" file requires "setuptools".  "setuptools", > unlike "distutils", isn't part of the Python 2.6 distribution. > >   IMPORTANT PACKAGES SHOULD NOT USE "setuptools".  Use the

Re: MySQLdb install vs. "setuptools"

2010-05-30 Thread Antoine Pitrou
Really, this shouldn't happen if you really are using a non-root version of Python: > [Errno 2] No such file or directory: > '/usr/local/lib/python2.6/site-packages/test-easy-install-22015.write-test' I don't think setuptools is dumb enough to hardcode things like "/usr/local/lib/python2.6

MySQLdb install vs. "setuptools"

2010-05-29 Thread John Nagle
MySQLdb won't install as non-root on Python 2.6 because its "setup.py" file requires "setuptools". "setuptools", unlike "distutils", isn't part of the Python 2.6 distribution. IMPORTANT PACKAGES SHOULD NOT USE "setuptools". Use the standard "distutils". "setuptools" and "eggs" create mor