how to include lots of media assets into a python rpm?

Erik Blankinship jedierikb at gmail.com
Tue Jan 25 14:34:39 UTC 2011


>
>
> > Is there a way to include lots of files with a pattern when calling
> > rpmbuild?  I am not sure how to use package_data to list wildcards
> > because of how I am using packages=find_packages( )
> >
> > Any suggestions?  Thanks much.
>
> Since it's setuptools-based project use include_package_data=True.
> This is documented at
> <http://peak.telecommunity.com/DevCenter/setuptools#including-data-files>
>
>
Unfortunately, I cannot get this approach to work.  I tried both just
include_package_data
= True and specifics with package_data=<lots of specifics>

All of the gfx files are included in the manifest, and all of the files are
under subversion control.

maybe:
I am using the wrong version of something (e.g. python or setuptools)?
I need to include a __init__.py in my gfx/ directories so they look like
packages?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/python-devel/attachments/20110125/932d64f2/attachment.html 


More information about the python-devel mailing list