Modify

Opened 6 hours ago

Last modified 6 hours ago

#14389 new defect

Refactor for Trac 1.6/Python 3

Reported by: Rob Hills Owned by:
Priority: normal Component: ComponentDependencyPlugin
Severity: blocker Keywords:
Cc: Trac Release: 1.6

Description

This plugin failed to load when used in Trac 1.6

Attachments (0)

Change History (1)

comment:1 Changed 6 hours ago by Rob Hills

Proposed patch - fixes the issue in my test Trac 1.6:

diff --git a/componentdependencies/__init__.py b/componentdependencies/__init__.py
index 409b576..6cbe07f 100644
--- a/componentdependencies/__init__.py
+++ b/componentdependencies/__init__.py
@@ -1,4 +1,4 @@
 # 
-from componentdependency import *
-from interface import *
-from test import *
+from componentdependencies.componentdependency import *
+from componentdependencies.interface import *
+from componentdependencies.test import *
diff --git a/setup.py b/setup.py
index f8d58d5..7d5088a 100644
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@ from setuptools import find_packages, setup
 
 
 setup(name='TracComponentDependency',
-      version='0.3',
+      version='0.4',
       description="allows plugins to depend on other components being enabled",
       author='Jeff Hammel',
       author_email='jhammel@openplans.org',

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.