More work on setuptools for sugar (Scripts/entry points for service files)


Spent the rest of the evening working on the setuptools based setup. Got to the point where I can see much of the project using pydoc on my main workstation using the setup.py develop installation. Made the various services console_script entry points.

Started work on a dbus-service installation command as well (that won't be particularly general, however, as the dbus installation directories are a bit over-configurable). Tried to help with a problem on IRC, not sure if I was much help though.

[Update] Marco has now made it possible to run from the source directory using a different mechanism (./source/sugar/sugar-emulator).

Comments

  1. Phillip J. Eby

    Phillip J. Eby on 04/15/2007 1:11 p.m. #


    FYI, pydoc in Python 2.5 now supports documenting packages in zipfiles; there were some problems in earlier versions, such that you could get help() on *modules*, but not *packages*, because pydoc wanted to list a directory to find out what modules were in the package. In 2.5, there's an API in pkgutil that supports finding out what modules are in a package, and it works for zipfiles too.

  2. Ian Bicking

    Ian Bicking on 04/15/2007 1:20 p.m. #


    There's some work I did to use Setuptools to make Activity distributions. I was working off a not-yet-implemented Activity spec at the time, and I haven't updated it or tried it out for a while. But it's not too complicated, and all the basics are there (downloading and bundling all the packages listed in your requirements).<br />
    <br />
    The code is in the <a href=">http://dev.laptop.org/git.do?p=bundle-builder;a=summary">bundle-builder git repository</a>

Comments are closed.

Pingbacks

Pingbacks are closed.