1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Description: create namespace package ‘gamera.toolkit’
Create namespace package ‘gamera.toolkit’. This allows python-gamera.toolkit.*
packages, both those using dh_python2 and those using python-support, to be
co-importable.
Author: Jakub Wilk <jwilk@debian.org>
Forwarded: not-needed
Last-Update: 2012-04-18
--- /dev/null
+++ b/gamera/toolkits/__init__.py
@@ -0,0 +1,7 @@
+import distutils.sysconfig
+import pkgutil
+__path__ = (
+ pkgutil.extend_path(__path__, __name__) +
+ [distutils.sysconfig.get_python_lib() + '/gamera/toolkits']
+)
+del distutils, pkgutil
|