Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #15475
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!tudelft.nl!txtfeed1.tudelft.nl!multikabel.net!newsfeed20.multikabel.net!amsnews11.chello.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'suppose': 0.05; 'exec': 0.07; 'received:verizon.net': 0.07; 'terry': 0.07; 'python': 0.08; 'command.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'setup.py': 0.09; 'subject:file': 0.13; 'question.': 0.15; 'did,': 0.16; 'file).': 0.16; 'reedy': 0.16; 'subject:install': 0.16; 'subject:non': 0.16; 'subject:package': 0.16; 'wrote:': 0.18; 'template': 0.19; 'jan': 0.19; "doesn't": 0.23; 'header:In-Reply- To:1': 0.23; 'code': 0.25; 'module': 0.30; 'pm,': 0.31; 'to:addr :python-list': 0.32; 'it.': 0.33; 'header:User-Agent:1': 0.33; 'header:X-Complaints-To:1': 0.33; 'idea': 0.34; 'trouble': 0.35; 'data,': 0.35; 'file': 0.36; 'example,': 0.36; 'received:org': 0.37; 'could': 0.38; 'run': 0.38; 'should': 0.39; 'either': 0.39; 'why': 0.39; 'got': 0.39; 'subject:: ': 0.39; 'to:addr:python.org': 0.39; 'data': 0.40; 'your': 0.61; 'easy_install': 0.84 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Terry Reedy <tjreedy@udel.edu> |
| Subject | Re: easy_install doesn't install non-package *.py file |
| Date | Tue, 08 Nov 2011 14:09:18 -0500 |
| References | <CAFTm5Rt6gdYH6KU2=iZjQ94N1eL7EkhGVCBJZWPLyroUmj2BuA@mail.gmail.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | pool-74-109-121-73.phlapa.fios.verizon.net |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20110812 Thunderbird/6.0 |
| In-Reply-To | <CAFTm5Rt6gdYH6KU2=iZjQ94N1eL7EkhGVCBJZWPLyroUmj2BuA@mail.gmail.com> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| 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> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2549.1320779372.27778.python-list@python.org> (permalink) |
| Lines | 26 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1320779372 news.xs4all.nl 6911 [2001:888:2000:d::a6]:46101 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:15475 |
Show key headers only | View raw
On 11/7/2011 11:32 PM, Makoto Kuwata wrote: > I got trouble about easy_install command. > > My package: > > README.rst > setup.py > foobar/ > foobar/__init__.py > foobar/data/ > foobar/data/template.py > > In the above example, 'foobar/data/template.py' is just a > template data file (= not a python module file). Then why is it .py? If it is just data, use .txt. If .py, it should be python code run either directly or imported, though I suppose you could exec it. (I have no idea how renaming would affect your problem.) > (notice that 'foobar/data/__init__.py' doesn't exist.) I did, and no, I do not know the answer to your question. -- Terry Jan Reedy
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: easy_install doesn't install non-package *.py file Terry Reedy <tjreedy@udel.edu> - 2011-11-08 14:09 -0500
csiph-web