Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #15560
| References | <mailman.2530.1320726768.27778.python-list@python.org> <5611883.2927.1320916092038.JavaMail.geo-discussion-forums@yqni5> |
|---|---|
| Date | 2011-11-11 05:38 +0900 |
| Subject | Re: easy_install doesn't install non-package *.py file |
| From | Makoto Kuwata <kwa@kuwata-lab.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2622.1320957535.27778.python-list@python.org> (permalink) |
On Thu, Nov 10, 2011 at 6:08 PM, Jonathan Hartley <tartley@tartley.com> wrote: > 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. 'package_data' is the solution for my trouble. Thank you very much, Jonathan. -- regards, makoto kuwata
Back to comp.lang.python | Previous | Next — Previous 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