On Mon, 2008-01-07 at 23:26 +0100, Vasco Steinmetz wrote: > > > > Still fails to compile. > Obviously it still calls opensync_version() from synce-install-plugins.py. > I guess the small change you made removed the plugin detection and copy part. > > Lines 5-10 seem superfluous now. >
Yes. They will probably need restructuring in some way but without research I am not sure how setuptools needs to handle this. Basically what should happen now is as follows (if you can make this happen setuptools-friendly it would be a great help :) In the sync-engine sources, the two plugins now reside in sync-engine/plugins and both should be copied to the target system on install - but held with the package and not deposited in the user's OpenSync plugin directory (If we do this, we run the risk of losing the plugin should the user destroy the OpenSync install for whatever reason, and we also need OpenSync to be installed before the sync-engine). Now, when the user has installed Opensync, we need to run synce-install-plugins.py in order to copy the appropriate plugin to the OpenSync plugin directory. Note this is a copy, not a move (as Jonny Lamb originally suggested). This way a working copy of the plugin is placed in the OpenSync plugins directory, but we retain a copy of all plugins with the sync-engine install. We can run synce-install-plugins.py automatically on the install of sync-engine if we detect that OpenSync is already installed - but we should not make OpenSync a dependency of sync-engine (we may support targets other than OpenSync one day) Should the user then either hose their OpenSync install, or choose to upgrade it, no plugins are lost and they do not need to reinstall sync-engine. All they need to do is re-run synce-install-plugins.py, and the correct plugin will be (re)inserted. Hope this makes sense - please ask if you need clarification. John. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ SynCE-Devel mailing list SynCE-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synce-devel