[jokosher-devel] Subversion directory structure for extensions



In r771 I moved the directory structure around a bit for the extensions that I 
converted to eggs. (I left Freesound alone as I think Aq is currently working 
on it). So the layout is now:

extensions/
    trunk/
        eggs/
            Extension_1/
                setup_py
                src/
                    Extension1.py
                    Extension1.glade
                    __init__.py
               . . .
            Extension_2/
               . . .
        extensions/
            Extension_1.egg
            Extension_2.egg
               . . .
            SimpleExtension.py

This is to allow the directory structure needed to build the egg files. If  
you modify , say Extension1.py then you need to run it's setup script to 
rebuild the egg.. The command is 'python setup.py bdist_egg'.This builds the 
egg in a dist/ sub-directory. There is a line at the end of the script to 
copy the egg up to the extensions/trunk/extensions directory. So this 
directory contains all the extensions ready for deployment. You can copy 
these into ~/.jokosher/extensions or, if you add this directory to 
JOKOSHER_EXTENSION_DIRS then svn up will be all you need do to update.

The build process creates other directories: build/ ,dist/ and 
Extension.egg-info but I think that these are only intermediary and no 
interest to svn so, for the ones I did I set svn:ignore appropriately.
-- 
John Green

john thegreens co uk



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]