Opened 12 years ago

Closed 11 years ago

#2989 closed defect (fixed)

installing django via easy_install is broken in r4050

Reported by: __doc__ Owned by: Adrian Holovaty
Component: Core (Other) Version:
Severity: major Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


The django is broken n r4050 for easy_install. Trying to easy_install the package fails:

myhost:~/packages/django_trunk# easy_install .
Processing .
Running -q bdist_egg --dist-dir /root/packages/django_trunk/egg-dist-tmp-IaTqh9
error: Setup script exited with error: package directory 'root/packages/django_trunk/django' does not exist

I think it is because easy install changes the working directory or something, and the django isn't written to run non local.

Attachments (1) (921 bytes) - added by __doc__ 12 years ago.
propsed fix

Download all attachments as: .zip

Change History (9)

Changed 12 years ago by __doc__

Attachment: added

propsed fix

comment:1 Changed 12 years ago by Russell Keith-Magee

Resolution: invalid
Status: newclosed

Support for easy_install was deliberately removed in r3906.

comment:2 Changed 12 years ago by __doc__

Resolution: invalid
Status: closedreopened

You confuse two things. Reliance in on setuptools was removed with r3906. However, easy_install is designed to work with vanilla distutils as well, which is what this ticket is about.

comment:3 Changed 12 years ago by __doc__

Besides, I want to comment on r3906.

This means installing Django no longer requires a easy_install, setuptools or a working Internet connection, greatly simplifying things.
  1. easy_install is part of setuptools. It is however not required for installation, you may as well go with "python install"
  2. setuptools is just a standalone library, I don't see how it "greatly simplifying things" not to rely on it.
  3. A working internet connection is not required with setuptools

comment:4 Changed 12 years ago by Jacob

Resolution: invalid
Status: reopenedclosed

This isn't the place to pick bones about Django's lack of support for setuptools, nor is it the place to argue about what setuptools does or doesn't do. Please take this discussion to django-dev if you want to continue it.

comment:5 Changed 12 years ago by __doc__

Resolution: invalid
Status: closedreopened

It's not about support of setuptools!!! It's a matter of writing a proper distutils package. Now, that's not that hard to understand, would you take your time to read what I write instead of stopping at the word "easy_install" you'd understand (heck why not just look at the patch I added, you know, it's python, I'm sure you can read that, if you can't understand what I write).

Gesh you guys are square headed, that's the last time like *ever* I'm going to point out your problems for you, have fun figuring out your mess in the future alone!!!!

comment:6 Changed 12 years ago by Armin Ronacher

No comment. Why the hell was setuptools support removed?

comment:7 Changed 12 years ago by Adrian Holovaty

I do agree that the patch is worth putting in; I suspect the ticket was closed purely based on a misunderstanding that it was easy_install-specific. Sorry about that!

Armin: Check the django-developers archives for discussion of removing setuptools support. We did it several weeks (months?) ago.

comment:8 Changed 11 years ago by Adrian Holovaty

Resolution: fixed
Status: reopenedclosed

Fixed in [4114].

Note: See TracTickets for help on using tickets.
Back to Top