I'm making a python package for something python Gedit/Pluma/Xed plugin.

Like other lots of other packages that use Gtk, I use glib-compile-schemas [1] 
at install time.
I do this by using a custom setup.py- similar to this file this from flux:
 https://github.com/xflux-gui/fluxgui/blob/master/setup.py#L81(other app, like 
Meld to something similar)


It looks like there are a lot of changes happening to setuptools, will this 
continue to work or will it break one day ?

This isn't the only file I'd like to generate at install time, but might be the 
hardest to work around if I can't.


The other custom action I'm going looking at is setting `--install-lib` to the 
editors plugin directory (this varies depending on:  Operating system and is 
the user root ?)

I'm using use pip for this, as the install story for most python plugins for 
these editors is nonexistant - people have to copy the files to some place 
manually, and instructions usually miss out Windows and OSX.


[1] glib-compile-schemas takes an XML file and generates a binary GVariant file.
--
Distutils-SIG mailing list -- distutils-sig@python.org
To unsubscribe send an email to distutils-sig-le...@python.org
https://mail.python.org/mailman3/lists/distutils-sig.python.org/
Message archived at 
https://mail.python.org/archives/list/distutils-sig@python.org/message/EWR4XLHRVMXH5ZO776UNL5S4POIXJMUT/

Reply via email to