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 <[email protected]> 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 - [email protected] > 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 - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
