Zope 2 setup.py and setup parameters
Hi, In Zope 2 setup.py, the parameters of setup is defined as a separate dictionary and then unpacked to setup function like this: setup(**params) Any particular reason to do like this ? Regards, Baiju M
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 schrieb Baiju M:
Hi, In Zope 2 setup.py, the parameters of setup is defined as a separate dictionary and then unpacked to setup function like this:
setup(**params)
Any particular reason to do like this ?
Any particular problem? I think added the code while we had to deal with version dependencies and pinning in some way before having the dedicated index for each Zope release. - -aj - -- ZOPYX Ltd. & Co KG \ zopyx group Charlottenstr. 37/1 \ The full-service network for your D-72070 Tübingen \ Python, Zope and Plone projects www.zopyx.com, info@zopyx.com \ www.zopyxgroup.com - ------------------------------------------------------------------------ E-Publishing, Python, Zope & Plone development, Consulting -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAksrJgMACgkQCJIWIbr9KYwAQQCfYv3S+Dt1KNKxreV47+E0UOCD xiEAoL/SE/FkP7drG3gGhXNuZdltByy0 =3Hvz -----END PGP SIGNATURE-----
On Fri, Dec 18, 2009 at 12:19 PM, Andreas Jung <lists@zopyx.com> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
schrieb Baiju M:
Hi, In Zope 2 setup.py, the parameters of setup is defined as a separate dictionary and then unpacked to setup function like this:
setup(**params)
Any particular reason to do like this ?
Any particular problem?
Nothing, I thought it's YAGNI.
I think added the code while we had to deal with version dependencies and pinning in some way before having the dedicated index for each Zope release.
So, we can change it now ? Regards, Baiju M
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 schrieb Baiju M:
On Fri, Dec 18, 2009 at 12:19 PM, Andreas Jung <lists@zopyx.com> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
schrieb Baiju M:
Hi, In Zope 2 setup.py, the parameters of setup is defined as a separate dictionary and then unpacked to setup function like this:
setup(**params)
Any particular reason to do like this ?
Any particular problem?
Nothing, I thought it's YAGNI.
I think added the code while we had to deal with version dependencies and pinning in some way before having the dedicated index for each Zope release.
So, we can change it now ? If you want to change it for the sake of having it changed, go ahead :)
Andreas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAksrLw0ACgkQCJIWIbr9KYy/YwCg0MZV/Iyrr+VA+n4eVPTCd0zH LioAoICIPUmMCXeTk60uDkDFSwZnQRt4 =O6cc -----END PGP SIGNATURE-----
participants (2)
-
Andreas Jung -
Baiju M