On Fri, Sep 08, 2006, Kent Johnson wrote: >Bill Campbell wrote: >> On Fri, Sep 08, 2006, Kent Johnson wrote: >>> http://peak.telecommunity.com/DevCenter/EasyInstall >> >> Is it possible to use EasyInstall to install relative to a >> directory other than the site-packages directory in the manner >> that the standard distutils does with the ``--root'' option? > >Did you see the section "Custom Installation Locations" in the >above-referenced guide? Does that do what you want? >http://peak.telecommunity.com/DevCenter/EasyInstall#custom-installation-locations
No. That would have the installation looking for it in some location like /opkg/RPM/TMP/package-name-root/lib/python... instead of the proper location under the site-packages on the installed system. It seems to me that EasyInstall is aimed at people installing on individual systems, not ones building packages that will be installed on multiple machines using a package manager. We build many packages under the OpenPKG.org portable package manager which allows us to use standard source packages on a wide variety of Linux and UNIX systems. The main package we build that uses EasyInstall is sqlobject, and I'm currently kludging this by doing the build under the control of EasyInstall (being careful that all the supporting packages are current so it doesn't go grabbing things across the network that aren't in the package). Once the build is done, my SPEC file then copies from the build directory to the temporary destination directory, skipping the EasyInstall install routine. Personally I haven't found any good reasons not to use the standard distutils, particularly since all the dependencies are handled already by the OpenPKG package manager. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software, LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 ``there is nothing more difficult to take in hand, more perilous to conduct, or more uncertain in its success, than to take the lead in the introduction of a new order of things. Because the innovator has for enemies all those who have done well under the old conditions, and lukewarm defenders in those who may do well under the new.'' -- Machiavelli _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor