Django

Code

Ticket #3796 (closed: fixed)

Opened 2 years ago

Last modified 2 years ago

On Windows, Django-0.96 setup.py's path manipulation thingie sucks.

Reported by: lbruno(Luis )@(Bruno)100blossoms.com Assigned to: adrian
Milestone: Component: Core framework
Version: SVN Keywords: setup windows os.path
Cc: lbruno@100blossoms.com Triage Stage: Accepted
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

On Windows, running "easy_install ." inside the unpacked tarball doesn't work. I'd guess all those forward slashes in setup.py aren't really a good idea. You might want to stealWborrow from setuptools.find_packages().

So, I'm now running under development mode: I'd like an .egg! I had to import setuptools.setup and go from there: the django.contrib.admin.templates don't get packaged with the .egg I mangled together.

PS: Add a 0.96 version and change this ticket.

Attachments

Change History

04/03/07 06:21:21 changed by mtredinnick

  • needs_better_patch changed.
  • stage changed from Unreviewed to Accepted.
  • needs_tests changed.
  • needs_docs changed.

The path mangling is someting I'm fixing at the moment.

For eggs, you are on your own. We have stopped supporting setuptools at this point in time.

04/03/07 07:28:20 changed by mtredinnick

  • status changed from new to closed.
  • resolution set to fixed.

(In [4912]) Fixed #3338, #3536, #3796 -- Fixed a bunch of setup and build problems in a portable fashion. That took a *lot* longer to debug than I thought it would, so let's try not to break it.


Add/Change #3796 (On Windows, Django-0.96 setup.py's path manipulation thingie sucks.)




Change Properties
Action