[Distutils] Confusing options error msg

Greg Ward gward@python.net
Fri, 2 Jun 2000 20:58:36 -0400

On 02 June 2000, Randall Hopper said:
> error: build_py: supplying both 'packages' and 'modules' options is not allowed
> It's not clear from the message which *_modules variable/variables are the
> problem.  Based on PyNcurses's and Numerical's setup.py files, it's
> apparent that py_modules is the culprit.  Removing it lets the build
> continue.

Good point -- I've just changed 'self.modules' in build_py.py to
'self.py_modules', both for consistency and so that I can fix the error
message without barfing.


Greg Ward - programmer-at-large                         gward@python.net
There are no stupid questions -- only stupid people.