Usage is to dispatch Paste templates http://pythonpaste.org/script/developer.html#templates. And the dir must be empty, for some reasons. So this distutils syntax does not work (interesting though, as it does create the dir in the egg, it's just not copied) On Jan 25, 12:18 am, Tarek Ziadé <ziade.ta...@gmail.com> wrote:
I don't know on setuptools side, but in distutils, I don't think there's any way to include an empty directory like this, even with a graft in the MANIFEST.in file.
The commands are looking for files to include, then create the necessary directories in the distribution, to include those files
Can't you add a README.txt file in that directory ?
What is the use case to include an empty directory in a release ?
Regards Tarek
On Sat, Jan 24, 2009 at 2:40 AM, Domen Kožar <iElect...@gmail.com> wrote:
I'm having issues to include an empty directory to setuptools package.
package_data={'data':['templates/*tmpl']}
this includes all the files, but there is data/templates/Test directory that is empty and there is no way of globing it. _______________________________________________ Distutils-SIG maillist - Distutils-...@python.org http://mail.python.org/mailman/listinfo/distutils-sig
-- Tarek Ziadé | Association AfPy |www.afpy.org Blog FR |http://programmation-python.org Blog EN |http://tarekziade.wordpress.com/ _______________________________________________ Distutils-SIG maillist - Distutils-...@python.orghttp://mail.python.org/mailman/listinfo/distutils-sig