Zipped XML support for colours library.

Stuart Axon's Avatar

Stuart Axon

20 Mar, 2013 08:26 PM

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

  1. 1 Posted by Stuart Axon on 20 Mar, 2013 08:40 PM

    Stuart Axon's Avatar
  2. Support Staff 2 Posted by tomdesmedt on 04 Dec, 2013 12:57 AM

    tomdesmedt's Avatar

    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. 3 Posted by Stuart Axon on 14 Jan, 2014 06:45 PM

    Stuart Axon's Avatar

    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++

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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

Recent Discussions

24 Mar, 2019 08:45 PM
24 Mar, 2019 12:07 AM
23 Mar, 2019 09:00 PM
22 Mar, 2019 06:37 AM
17 Mar, 2019 10:13 PM