[Sugar-devel] [PATCH] Use empy from the distribution

Sascha Silbe silbe at activitycentral.com
Tue Jan 17 08:56:10 EST 2012

Excerpts from Simon Schampijer's message of 2011-12-22 14:03:41 +0100:
> empy [1] has been packaged for distributions by now (see Fedora
> package name python-empy [2] or Debian package name python-empy [3]).
> Drop the local copy and add empy as a dependency.

Thanks for the patch. Please reference SL#2454 [4] in the summary and
mention the module name (sugar-artwoork) in the subject prefix.

> @@ -1,9 +1,9 @@
>  sugar-72.gtkrc: gtkrc.em
> -    $(srcdir)/em.py -p $$ -D scaling=\'72\' $(srcdir)/gtkrc.em > \
> +    python $(pythondir)/em.py -p $$ -D scaling=\'72\' $(srcdir)/gtkrc.em > \
>          $(top_builddir)/gtk/theme/sugar-72.gtkrc

The above only works if empy is installed in the Python distribution. If
we use "python -m em" instead, it will work as long as empy is installed
anywhere in $PYTHONPATH.


[4] https://bugs.sugarlabs.org/ticket/2454
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120117/fc694891/attachment-0001.pgp>

More information about the Sugar-devel mailing list