[Distutils] easy_install problem.

Titus Brown titus at caltech.edu
Sun Dec 4 00:09:03 CET 2005


-> -> > Also, 'python ez_setup.py --help-commands' doesn't work; "unrecognized
-> -> > command".
-> -> 
-> -> 1). ez_setup.py is just the bootstrap script.  Run it once, throw it away.
-> 
-> Humm, I remember reading somewhere that it needed to be included.  Can't
-> find that any more, so it was probably a misunderstanding -- good to
-> know!

Found it!  A presentation of Ian Bicking's,

	http://ianbicking.org/docs/setuptools-presentation/

slide 21.

Ian's recommended usage is to put the following into setup.py:

	from ez_setup import use_setuptools
	use_setuptools()

	from setuptools import setup

	...

So you need to include ez_setup if you want to use the nifty features of
setuptools while still allowing Python naive users to use your package.

...or am I missing something?

--titus


More information about the Distutils-SIG mailing list