Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.051 X-Spam-Evidence: '*H*': 0.90; '*S*': 0.00; 'message- id:@glegroupsg2000goo.googlegroups.com': 0.09; 'reply- to:addr:comp.lang.python': 0.09; 'to:addr:comp.lang.python': 0.09; 'read.': 0.10; 'egg': 0.16; 'cc:addr:python-list': 0.16; 'yet.': 0.18; "haven't": 0.20; 'file,': 0.21; "doesn't": 0.22; 'cc:2**0': 0.22; 'header:In-Reply-To:1': 0.22; 'work,': 0.23; 'unsure': 0.23; 'changes,': 0.24; 'preferred': 0.25; 'subject: .': 0.29; 'cc:addr:python.org': 0.30; 'example': 0.30; 'folder.': 0.30; 'thanks': 0.30; 'list': 0.32; 'header:User-Agent:1': 0.34; 'directory.': 0.34; 'folder': 0.35; 'file': 0.36; 'created': 0.36; 'but': 0.37; 'could': 0.38; 'think': 0.38; 'received:google.com': 0.38; 'received:209.85': 0.38; 'should': 0.38; 'subject:: ': 0.39; 'why': 0.39; "it's": 0.40; 'order': 0.62; 'strange': 0.68; 'header :Reply-To:1': 0.71; 'reply-to:no real name:2**0': 0.71; 'reply- to:addr:googlegroups.com': 0.74; '(still': 0.84; 'setup.py,': 0.84 Newsgroups: comp.lang.python Date: Sat, 27 Aug 2011 10:57:01 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=216.99.216.115; posting-account=yMP7kQoAAAAXsyJyvL-3qYVslbdYOSQP References: <31bef8dc-d804-454d-85c7-8de1663052a8@glegroupsg2000goo.googlegroups.com> User-Agent: G2/1.0 X-Google-Web-Client: true MIME-Version: 1.0 Subject: Re: Understanding .pth in site-packages From: Josh English To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list list X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: comp.lang.python@googlegroups.com List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Message-ID: Lines: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1314467823 news.xs4all.nl 2493 [2001:888:2000:d::a6]:57861 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:12284 Philip, Yes, the proper path should be c:\dev\XmlDB, which has the setup.py, xmldb subfolder, the docs subfolder, and example subfolder, and the other text files proscribed by the package development folder. I could only get it to work, though, by renaming the xmldb folder in the site-packages directory, and deleting the egg file created in the site-packages directory. Why the egg file, which doesn't list any paths, would interfere I do not know. But with those changes, the xmldb.pth file is being read. So I think the preferred search order is: 1. a folder in the site-packages directory 2. an Egg file (still unsure why) 3. A .pth file It's a strange juju that I haven't figured out yet. Thanks for the hint. Josh