The new NodeBox forum is live! Everything from support.nodebox.net moved here: sign in with the same email to pick up your old posts. Something not working? Write to forum-support@nodebox.net.

NodeBox 1ArchiveFrom the old forum

Zipped XML support for colours library.

3 replies Last reply

  1. 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

    Copy link
  2. 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

    Copy link
  3. 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/README

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

    Copy link

Know something that helps?

Sign in with your email address to reply. No password needed.

Sign in to reply