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

2011-01-24 Thread Konstantin Zemlyak
Erik Blankinship wrote: > Unfortunately, none of the gfx are transfered over. However, if I > modify my setup.py as follows: > > from setuptools import find_packages > > pkgs = find_packages( ) > > setup( name='SunnyApp', > ... > data_fil

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

2011-01-24 Thread Erik Blankinship
On Mon, Jan 24, 2011 at 9:14 PM, Ignacio Vazquez-Abrams < ivazquez...@gmail.com> wrote: > On Mon, 2011-01-24 at 21:02 -0500, Erik Blankinship wrote: > > Unfortunately, there does not appear to be a way to include *.png for > > all subdirectories in gfx. > > You might find os.walk() or glob.glob()

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

2011-01-24 Thread Ignacio Vazquez-Abrams
On Mon, 2011-01-24 at 21:02 -0500, Erik Blankinship wrote: > Unfortunately, there does not appear to be a way to include *.png for > all subdirectories in gfx. You might find os.walk() or glob.glob() useful here. -- Ignacio Vazquez-Abrams signature.asc Description: This is a digitally signed

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

2011-01-24 Thread Erik Blankinship
I have a lot of media assets to include in my python rpm. I am confused as to the best way to include these files in my rpm. Here is my setup: setup.py sun.py gfx/sun_1.png gfx/sun_2.png gfx/sun_3.png gfx/core/core_1.png gfx/core/core_2.png ... gfx/core/core_99.png I list everything I want to

best practices for python applications targeting f11 gnome on the olpc xo

2011-01-24 Thread Erik Blankinship
What would be the best practice for python applications targeting f11 gnome on the olpc xo? I am developing on f13, but my target is f11 (an olpc xo machine) running python 2.6. The rpms I am generating have the name: SunnyApp-1.1-1.fc13.noarch.rpm Two things here stand out to me (the very new

Re: packing an rpm without source code?

2011-01-24 Thread Erik Blankinship
On Mon, Jan 24, 2011 at 8:13 AM, Athmane Madjoudj wrote: > On 01/24/2011 05:36 AM, Erik Blankinship wrote: > > Can someone point me at an example of how to package a fedora python rpm > > without the source code (only the .pyc or .pyo files)? > > > > Would I make this change in my spec file? > > >

Re: packing an rpm without source code?

2011-01-24 Thread Athmane Madjoudj
On 01/24/2011 05:36 AM, Erik Blankinship wrote: > Can someone point me at an example of how to package a fedora python rpm > without the source code (only the .pyc or .pyo files)? > > Would I make this change in my spec file? > > Thank you for your help. > > You can't, it's against packaging guide

Re: packing an rpm without source code?

2011-01-24 Thread Jon Ciesla
Erik Blankinship wrote: > Can someone point me at an example of how to package a fedora python > rpm without the source code (only the .pyc or .pyo files)? > > Would I make this change in my spec file? > > Thank you for your help. > > > -