So I'm obviously new to this distutils stuff.  An earlier run of
"python setup.py bdist_rpm" created a MANIFEST file with only *.py
files and leo/scripts/leo
I manually added to that the results of "find leo \( -name "*.ui" -o -
name "*.leo" \) -print; find leo/Icons -print" and that seems to have
gotten them included in the .rpm package.  Are there more non-python
files I should manually add to MANIFEST?

    - Stephen

On Mar 15, 2:08 am, thyrsus <[email protected]> wrote:
> More trouble: the setup.py excludes files in directories with an
> __init__.py from the data_files list.  Instead, there's a line
>
>     package_data = {'leo.plugins' : datapats },
>
> where datapats is a list including '*.ui'.  Unfortunately, this is
> insufficient to convince build_rpm to include those files in the
> package.  I tried adding
>
>     package_dir = {'leo.plugins': 'leo/plugins' },
>
> but that didn't help.  I see there's magic code to get windows to
> work; is something similarly obscure necessary to convince rpm to
> function?
>
>     - Stephen
>
> On Mar 15, 12:22 am, thyrsus <[email protected]> wrote:
>
> > I just attempted to build an rpm for 4.7.1-final with
>
> > python setup.py bdist_rpm
>
> > ...which failed when it encounted syntax errors in plugins/
> > ConceptualSort.py and plugins/LeoN.py (the rpm attempts to
> > include .pyc and .pyo files files).  The python is 2.6.2 in the Fedora
> > 12 environment. I'm thinking of "publishing" this, and I'd like
> > recommendations as to whether to (a) fix the syntax, when I see that
> > the unitTest.leo declares ConceptualSort.py as "tkfail" and LeoN.py as
> > "dead", or (b) comment out all the contents of the two file, so as to
> > document their presence, but make them effective no-ops.  I'm not sure
> > that will really make everything happy; your advice is appreciated.
>
> >     - Stephen

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to