What do I need to do to add a package dependency in MM2.2?
I'm doing some work in mm2.2 and wanted to add some python package
dependencies like routes, lxml, and simplejason. How do I go about
declaring these dependencies so that the dependent packages will be
installed for the end user who wants to run mm2.2?
Can someone point me in the direction of the stuff that I need to read?
....maki....
This message was sent using IMP, the Internet Messaging Program.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On May 6, 2008, at 12:58 AM, mk2s@digitalcommute.com wrote:
I'm doing some work in mm2.2 and wanted to add some python package
dependencies like routes, lxml, and simplejason. How do I go about
declaring these dependencies so that the dependent packages will be
installed for the end user who wants to run mm2.2?Can someone point me in the direction of the stuff that I need to
read?
It's more difficult to do in Mailman 2.2, because it is not
(currently) setuptools based.
The way it's done in 2.1 and 2.2 is to add the packages to the misc/
directory and edit misc/Makefile.in to install them into the pythonlib
directory when that gets created. There's examples there for the
email package, JapaneseCodes and KoreanCodecs.
We should target Python 2.5 at least for Mailman 2.2. None of the
above packages are part of that afaik, but for example, I wonder if it
still makes sense to include those codecs packages?
- -Barry
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin)
iEYEARECAAYFAkgw2gIACgkQ2YZpQepbvXH9BgCggVX3Vpq/yDetXb+NQ5wE8BqC A8MAn2DV5ufUrn9um19/IYlbGA+adRZ3 =TiMq -----END PGP SIGNATURE-----
participants (2)
-
Barry Warsaw
-
mk2s@digitalcommute.com