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 #1937 (closed defect: duplicate)

Opened 9 years ago

Last modified 9 years ago

[Patch] Support for latest setuptools version (trunk)

Reported by: jcollette Owned by: anonymous
Priority: normal Milestone: 1.5
Component: TurboGears Version: 1.0.5
Severity: normal Keywords: setuptools
Cc:

Description

In the latest version of setuptools (trunk version), the function pkg_resources.resource_filename returns the resource filename without end string '
'.

In Turbogears 1.0.5, the turbogears.config.config_obj function computes the top_level_dir variable, by violently removing the last character of the string returned by resource_filename().

This is no more valid with the latest setuptools version.

Here is a patch to fix the problem.

Attachments

top_level_dir.patch Download (800 bytes) - added by jcollette 9 years ago.
Patch to support the latest version of setuptools (0.7a1dev)

Change History

Changed 9 years ago by jcollette

Patch to support the latest version of setuptools (0.7a1dev)

comment:1 Changed 9 years ago by Chris Arndt

  • Status changed from new to closed
  • Resolution set to duplicate

This is a duplicate to #1796. The issue has been fixed in r4892.

Note: See TracTickets for help on using tickets.