-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 07 November 2003 03:22 am, Derek Fountain wrote:
When I run the above command I get the following:- merlin:/home/graham/tmp/pyserial-2.0b2 # python setup.py install error in setup script: invalid distribution option 'classifiers' merlin:/home/graham/tmp/pyserial-2.0b2 #
...snip...
I'm not sure why these things go wrong. At first I blamed the packager, but after I saw it happen 2 or 3 times I decided that perhaps the installation mechanism is just not as robust as, say, Perl's.
Really it depends on the version of Distutils/Python and what the author expects. Distutils doesn't change very often. In this case it's the author's fault. Read the bottom of this message (The first Google result for "distutils classifiers"): http://mail.python.org/pipermail/distutils-sig/2003-February/003188.html As for the robustness comment, I really have to disagree. Your average setup.py is much simpler than your average Makefile.PL. The setup.py also does a lot of stuff that Makefile.PL doesn't. Try 'python setup.py bdist_rpm' or 'python setup.py bdist_wininst' sometime. The wininst one freaked me out when I first learned of it. I ran it on my Linux box and it generated a "wizard" installer for Windows. You may also want to compare the spec files for Perl and Python modules under SuSE. The python ones are *much* simpler thanks to the --root and --record options. - -- James Oakley Engineering - SolutionInc Ltd. joakley@solutioninc.com http://www.solutioninc.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/q/Yu+FOexA3koIgRAgG7AJ43e3l1aS7uBQjqxc6lTPPe3WMBIACglmI3 lKhS2mNX/DiOsQoXPxFxmOo= =Z0UG -----END PGP SIGNATURE-----