Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1421 (closed defect: fixed)

Opened 12 years ago

Last modified 11 years ago

setup.py doesn't use ez_setup/use_setuptools() to ensure setuptools is available

Reported by: nbm Owned by: Chris Arndt
Priority: normal Milestone: 2.0
Component: TurboGears Version: trunk
Severity: normal Keywords:
Cc:

Description

The pattern most setuptools-using apps use (including the templates that TG2 generates) to use setuptools is to have a svn:externals for ez_setup to import the latest ez_setup from their repository, and to put this at the start of setup.py:

from ez_setup import use_setuptools use_setuptools()

At the moment, TG2 doesn't do this.

To do this, apply the patch or copy from above, and also run:

svn propset svn:externals 'ez_setup  svn://svn.eby-sarna.com/svnroot/ez_setup' .

Attachments

tg-setup.py.ez_setup.patch Download (277 bytes) - added by nbm 12 years ago.

Change History

Changed 12 years ago by nbm

comment:1 Changed 11 years ago by Chris Arndt

  • Owner changed from anonymous to Chris Arndt
  • Status changed from new to assigned

comment:2 Changed 11 years ago by Chris Arndt

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed in r3881

Note: See TracTickets for help on using tickets.