At 08:52 AM 2/20/2007 +0100, Samuel Abels wrote: >On Fri, 2007-02-23 at 11:27 -0500, Phillip J. Eby wrote: > > Setuptools fixes this, and various other problems with distribution > > filenames. Unfortunately, changing this behavior in the distutils would > > result in backward incompatibilities for people who are relying on its > > current behavior. > >Thanks, I was not aware of setuptools. > >Unfortunately, my script has to run on a hosted server where I can not >install this package.
setuptools can be installed to any PYTHONPATH directory; see: http://peak.telecommunity.com/DevCenter/EasyInstall#custom-installation-locations Especially the sections on "Creating a Virtual Python" and "Traditional PYTHONPATH-based installation". The "Creating a Virtual Python" may be especially useful to you, as it creates a virtual Python installation that gives you complete access to site-packages and the ability to install whatever packages you want, whether they're setuptools-based or not. > Is there any workaround that I could use? For the file-naming problem, I don't know of any, no. For the "can't install packages on a hosted server" problem, see the above for a workaround. :) _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
