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

2011-11-10 Thread Makoto Kuwata
On Thu, Nov 10, 2011 at 6:08 PM, Jonathan Hartley 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. > > T

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

2011-11-10 Thread Jonathan Hartley
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

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

2011-11-09 Thread Chris Angelico
On Thu, Nov 10, 2011 at 11:58 AM, Makoto Kuwata wrote: > I want to use template names according to language, > such as template.py, template.html, template.rst, template.js, and so on. > You may have another problem here. Everyone and everything that looks at these will expect them to be Python,

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

2011-11-09 Thread Makoto Kuwata
On Thu, Nov 10, 2011 at 9:58 AM, Makoto Kuwata wrote: > On Wed, Nov 9, 2011 at 4:09 AM, Terry Reedy wrote: >> 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__.p

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

2011-11-09 Thread Makoto Kuwata
On Wed, Nov 9, 2011 at 4:09 AM, Terry Reedy wrote: > 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

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

2011-11-08 Thread Terry Reedy
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 m

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

2011-11-07 Thread Makoto Kuwata
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'