Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #15532
| 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 | <tartley@tartley.com> |
| 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 | <mailman.2530.1320726768.27778.python-list@python.org> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=86.145.152.199; posting-account=p0hmcAoAAABcd-yUxQUlUJWkP4UextqO |
| References | <mailman.2530.1320726768.27778.python-list@python.org> |
| 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 <tartley@tartley.com> |
| 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 <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Message-ID | <mailman.2589.1320916100.27778.python-list@python.org> (permalink) |
| 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 |
Show key headers only | View raw
Hey. I don't know the details, but your setup.py needs to use either the 'package_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 files. There are many complications with using them though. One of them in particular (I don't remember which one) installs the files you specify in a different 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.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
easy_install doesn't install non-package *.py file Makoto Kuwata <kwa@kuwata-lab.com> - 2011-11-08 13:32 +0900
Re: easy_install doesn't install non-package *.py file Jonathan Hartley <tartley@tartley.com> - 2011-11-10 01:08 -0800
Re: easy_install doesn't install non-package *.py file Jonathan Hartley <tartley@tartley.com> - 2011-11-10 01:08 -0800
Re: easy_install doesn't install non-package *.py file Makoto Kuwata <kwa@kuwata-lab.com> - 2011-11-11 05:38 +0900
csiph-web