[EMAIL PROTECTED] wrote:
> if your just trying to make it work just go to the cherrypy dir and
> run:
>
> easy_install cherrypy

Actually, that would be 'easy_install .' if the current directory has a
setup.py in it.

In general, if you want to build an egg for a package that doesn't use
setuptools, you can use:

   easy_install -zmxNd target_dir source_dir_or_requirement

Where 'target_dir' is the directory the egg will be copied to, and
'source_dir_or_requirement' is either the directory of the setup.py, or
a PyPI requirement (e.g. "CherryPy>=2.1").  The '-zmxNd' is -z (keep
the output zipped), -m (multi-version, i.e. don't update a .pth file),
-x (exclude scripts), -N (no-deps, don't build any dependencies), -d
(set installation/target directory).

You can actually specify multiple source_dir_or_requirement, which is
handy if you want to automate building a bunch of eggs from PyPI or
some such.

Reply via email to