Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #15451

easy_install doesn't install non-package *.py file

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 <kwatch@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.006
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'question:': 0.07; 'python': 0.08; 'command.': 0.09; 'setup.py': 0.09; 'subject:file': 0.13; 'file).': 0.16; 'subject:install': 0.16; 'subject:non': 0.16; 'subject:package': 0.16; 'template': 0.19; 'trying': 0.21; '(or': 0.22; "doesn't": 0.23; 'received:209.85.212.46': 0.23; 'received:mail- vw0-f46.google.com': 0.23; 'command': 0.24; 'correctly.': 0.24; 'sender:addr:gmail.com': 0.25; 'message-id:@mail.gmail.com': 0.29; 'module': 0.30; "skip:' 10": 0.30; 'installed': 0.30; 'to:addr :python-list': 0.32; 'received:209.85.212': 0.34; 'file.': 0.34; 'install': 0.34; 'trouble': 0.35; 'file': 0.36; 'example,': 0.36; 'received:google.com': 0.38; 'created': 0.38; 'received:209.85': 0.38; 'got': 0.39; 'to:addr:python.org': 0.39; 'data': 0.40; 'received:209': 0.40; 'easy_install': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=aernEsQmu1P7HNhqC/n5oRoZ7OIdEJG+MNC/WS6fsg4=; b=Eoc2vZZIh+nTcxf8yLIt185bTqJAIHRhfvXgYHWyEhAFnjI9kHkbX+l8SBmzWI9hK9 7DIxfCSNVlA1KeLy0QNfYzLG2a28ZSZ+eRP7Pv7BAl5oXmoai/LNCCyvnMk36mNxbkW2 PFr9AkEH/ksiXhg9Sr804naNq/P5kMNwlCc+I=
MIME-Version 1.0
Sender kwatch@gmail.com
Date Tue, 8 Nov 2011 13:32:46 +0900
X-Google-Sender-Auth 0noTT5plz9xK3VMrTP7yEU_omD4
Subject easy_install doesn't install non-package *.py file
From Makoto Kuwata <kwa@kuwata-lab.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
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.2530.1320726768.27778.python-list@python.org> (permalink)
Lines 32
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1320726768 news.xs4all.nl 6868 [2001:888:2000:d::a6]:35847
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:15451

Show key headers only | View raw


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).
(notice that 'foobar/data/__init__.py' doesn't exist.)

In this case, 'foobar/data/template.py' file is NOT installed
when trying 'easy_install foobar'.
This is trouble what I got.

I found that:

* foobar.tar.gz created by 'easy_install sdist' contains
  'foobar/data/template.py' correctly.
* foobar.egg created by 'easy_install bdist' doesn't contain
  'foobar/data/template.py' file.

Question: how can I enforce easy_install command to
install 'foobar/data/template.py' (or non-package *.py file)?

--
regars,
makoto kuwata

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


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