Zipped XML support for colours library.
Hi,
For shoebot I've patched the color library to accept a zip
containing the colour xml files. I'd like to upstream the this, is
the repository anywhere.
I've found this one
https://github.com/fish2000/nodebox-color
Though it seems to be a fork + not the original.
Cheers,
Stuart
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Stuart Axon on 20 Mar, 2013 08:40 PM
Here is the patch in question -
https://github.com/shoebot/shoebot/commit/b2b9c43b28acb9312ca2a0557...
Support Staff 2 Posted by tomdesmedt on 04 Dec, 2013 12:57 AM
Hi Stuart,
Great update. Unfortunately, the NodeBox 1 libraries (including Colors) were never version-controlled, and probably never will be. If you want to put a fork on GitHub and work on it I will officially endorse it. The dataset of words => colors can still be interesting, I will keep it mind to bundle it as a single zipped XML along with a general Python-script to traverse it.
All the best,
Tom
3 Posted by Stuart Axon on 14 Jan, 2014 06:45 PM
Hi,
Sorry for taking a while to get back to you, I probably need to do a small update to this, having some experience of git and zipped files now :)
The intention was to make the reinstall time quicker, when using setup.py in shoebot, (and also the possibility of distributing colours in zips).
I should make it work like this:
colors are not zipped in git.
when setup.py builds an archive for distribution, it zips the colors (this will speed up re-installation, since all files don't need to be checked.)
I need to add a 'develop' option to solve the original problem of long-reinstalls (as it checks each colour when using setup.py install on shoebot).
I'm pretty sure we'd be up for hosting it in the shoebot repository, and will take it to the list...
While I'd like to use the version uploaded by fish2000, it seems to contain other things like PIL fonts, which are under a different license
https://github.com/fish2000/nodebox-color/blob/master/yipe/pilfonts...
Complicating things further, this version is uploaded on pypi
https://pypi.python.org/pypi/nodebox-color
It would be good if these could be resolved.
We don't make too many changes, as development is fairly slow these days :)
S++