-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/11/2011 03:45 PM, Fernando Martins wrote: > Hi, > > I am using zope 2.9.9 and I was trying a migration to 2.13.8 which I > have installed with buildout. I am however struggling with this new > system, much more complex than the simple old Products system. > > The zope instance contains a Products folder where I have been able > to drop in a few packages (a subfolder in it, actually) from Pypi. > > However, ZSQLMethods contains the Shared subfolder which is a > dependency for the ZSQLMethods and I don't know where to put Shared > to make it work (it doesn't work under Products). > > Based on the buildout.cfg of ZSQLMethods, I did: > > [buildout] ... parts = ... zsql > > [zsql] recipe = zc.recipe.testrunner eggs = Products.ZSQLMethods > > However, running bin/buildout I got > > Error: Picked: Products.ZSQLMethods = 2.13.4
That error comes from having 'allow-picked-versions = false' in buildout.cfg -- you then need to supply an explicit version for every package. > I guess it should not be so difficult to install ZSQLMethods, but I > can't really figure it out. Suggestions? I think you want 'Products.ZSQLMethods' added to the 'eggs' value for your 'instance' section, so that it is on the sys.path when running the 'instance' script. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 [email protected] Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk4bZVgACgkQ+gerLs4ltQ7egACgsEvUswttXfNiW2HBKH3ethqV kbUAnRhB6F4zstK7FYnuNGIvMR0YO7UE =gKwx -----END PGP SIGNATURE----- _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
