Received: by 10.224.196.196 with SMTP id eh4mr2888413qab.5.1334434105060; Sat, 14 Apr 2012 13:08:25 -0700 (PDT) X-BeenThere: pylons-discuss@googlegroups.com Received: by 10.229.136.134 with SMTP id r6ls3442932qct.8.gmail; Sat, 14 Apr 2012 13:08:17 -0700 (PDT) Received: by 10.224.196.196 with SMTP id eh4mr2888286qab.5.1334434097302; Sat, 14 Apr 2012 13:08:17 -0700 (PDT) Received: by 10.224.196.196 with SMTP id eh4mr2888285qab.5.1334434097291; Sat, 14 Apr 2012 13:08:17 -0700 (PDT) Return-Path: Received: from sanddollar.geekisp.com (sanddollar.geekisp.com. [216.168.135.167]) by gmr-mx.google.com with ESMTPS id a39si5592498qch.0.2012.04.14.13.08.16 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 14 Apr 2012 13:08:17 -0700 (PDT) Received-SPF: neutral (google.com: 216.168.135.167 is neither permitted nor denied by best guess record for domain of mike...@zzzcomputing.com) client-ip=216.168.135.167; DomainKey-Status: bad format Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 216.168.135.167 is neither permitted nor denied by best guess record for domain of mike...@zzzcomputing.com) smtp.mail=mike...@zzzcomputing.com; domainkeys=neutral (bad format) header.From=mike...@zzzcomputing.com Received: (qmail 22917 invoked by uid 1003); 14 Apr 2012 20:08:16 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=zzzcomputing.com; b=k+KxqwCdKvz6vyM6phXvI5VICrA+oLktuLQAag8PwueFjHuuWFyU4uGULTNPYEY31lUb2TlqXaBOm6T/Gxb1kvcdQqqDhu+0iIe26X4s4RVblWv8FaimdpxjSPNB2eKe ; Received: from unknown (HELO ?192.168.1.109?) (clas...@zzzcomputing.com@173.3.207.254) by mail.geekisp.com with SMTP; 14 Apr 2012 20:08:15 -0000 From: Michael Bayer Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: need a namespace package guru.... Date: Sat, 14 Apr 2012 16:08:15 -0400 Message-Id: To: pylons-discuss@googlegroups.com Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) I think I released the dogpile.cache stuff incorrectly, actually = installing the packages it seems like I got the namespace package stuff = wrong. I have the "pkg_resources.declare_namespace" directive in the = dogpile/__init__.py of dogpile.cache but not of dogpile, and it appears = that this needs to be exactly the opposite. Can someone help me set up dogpile and dogpile.cache correctly? Here's = a paste of what *seems* to work: http://paste.pocoo.org/show/581532/ the questions I have are: 1. Is it OK if I have "__version__" and a few other things in = dogpile/__init__.py of the root project ? this seems to work, as = "dogpile" is always imported first, but the docs at = http://packages.python.org/distribute/setuptools.html#namespace-packages = might suggest otherwise:=20 "You must NOT include any other code and data in a namespace package=92s = __init__.py. Even though it may appear to work during development, or = when projects are installed as .egg files, it will not work when the = projects are installed using =93system=94 packaging tools =96 in such = cases the __init__.py files will not be installed, let alone executed." 2. since "dogpile" is always imported first it seems like I don't need = anything in the dogpile/__init__.py of that of dogpile.cache ? 3. or is "dogpile" not always imported first in this scenario ? how = would I see that ?