Sophie

Sophie

distrib > Fedora > 16 > x86_64 > media > updates-src > by-pkgid > 72c8a807420a272321e45d7b113505c2 > files > 8

TurboGears-1.1.3-2.fc16.src.rpm

Index: TurboGears-1.1.2/setup.py
===================================================================
--- TurboGears-1.1.2.orig/setup.py
+++ TurboGears-1.1.2/setup.py
@@ -1,5 +1,8 @@
 # -*- coding: UTF-8 -*-
 
+__requires__ = ['TurboGears']
+import pkg_resources
+
 import os
 import sys
 
Index: TurboGears-1.1.2/turbogears/qstemplates/quickstart/setup.py_tmpl
===================================================================
--- TurboGears-1.1.2.orig/turbogears/qstemplates/quickstart/setup.py_tmpl
+++ TurboGears-1.1.2/turbogears/qstemplates/quickstart/setup.py_tmpl
@@ -1,5 +1,8 @@
 # -*- coding: utf-8 -*-
 
+__requires__ = ['TurboGears']
+import pkg_resources
+
 from setuptools import setup, find_packages
 from setuptools.command.build_py import build_py
 from turbogears.finddata import find_package_data
Index: TurboGears-1.1.2/turbogears/qstemplates/quickstart/start-+package+.py_tmpl
===================================================================
--- TurboGears-1.1.2.orig/turbogears/qstemplates/quickstart/start-+package+.py_tmpl
+++ TurboGears-1.1.2/turbogears/qstemplates/quickstart/start-+package+.py_tmpl
@@ -7,6 +7,9 @@ directory. When the project is installed
 proper start script.
 """
 
+__requires__ = ['TurboGears']
+import pkg_resources
+
 import sys
 from ${package}.command import start, ConfigurationError