Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; '(python': 0.05; 'dict': 0.09; 'reply-to:addr:comp.lang.python': 0.09; 'setup.py': 0.09; 'to:addr:comp.lang.python': 0.09; 'files.': 0.09; 'subject:file': 0.13; 'cc:addr:python-list': 0.15; 'from:addr:tartley': 0.16; 'from:addr:tartley.com': 0.16; 'from:name:jonathan hartley': 0.16; 'installs': 0.16; 'subject:install': 0.16; 'subject:non': 0.16; 'subject:package': 0.16; 'setup.': 0.18; 'cc:no real name:2**0': 0.21; "aren't": 0.21; 'though.': 0.23; 'header:In-Reply-To:1': 0.23; 'specify': 0.24; 'cc:2**0': 0.25; 'received:209.85.220': 0.27; 'pass': 0.28; 'installing': 0.28; 'cc:addr:python.org': 0.29; 'one)': 0.30; "skip:' 10": 0.30; 'there': 0.33; 'header :User-Agent:1': 0.33; 'test': 0.34; 'entry': 0.37; 'but': 0.37; 'using': 0.37; 'received:google.com': 0.38; 'received:209.85': 0.38; 'either': 0.39; 'subject:: ': 0.39; 'files': 0.40; 'received:209': 0.40; 'user': 0.40; 'your': 0.61; 'header:Reply- To:1': 0.70; 'reply-to:no real name:2**0': 0.71; 'reply- to:addr:googlegroups.com': 0.73; 'details,': 0.74 Newsgroups: comp.lang.python Date: Thu, 10 Nov 2011 01:08:12 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=86.145.152.199; posting-account=p0hmcAoAAABcd-yUxQUlUJWkP4UextqO References: User-Agent: G2/1.0 X-Google-Web-Client: true MIME-Version: 1.0 Subject: Re: easy_install doesn't install non-package *.py file From: Jonathan Hartley To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org 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: 10 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1320916100 news.xs4all.nl 6894 [2001:888:2000:d::a6]:32810 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:15532 Hey. I don't know the details, but your setup.py needs to use either the 'p= ackage_data' or the 'data_files' entry in the dict you pass to setup. These= can specify files you want included in the sdist which aren't package file= s. There are many complications with using them though. One of them in particu= lar (I don't remember which one) installs the files you specify in a differ= ent place depending on whether the user is installing the sdist from local = files (python setup.py install) or using pip, so be sure to test both ways.=