[PEAK] easy_install didn't work - forgot attachment
Ulrich Eck
ueck at net-labs.de
Wed Jul 13 10:41:00 EDT 2005
as the subject-line suggests, the attachment here comes.
i found out, that pyhtmloo does not extract into a distinct directory -
maybe that's a problem - it's definitely not good practice.
cheers
Ulrich
On Wed, 2005-07-13 at 16:26 +0200, Ulrich Eck wrote:
> Hi Phillip,
>
> my first try to use easy_install.py failed - i didn't dig into the
> problem
> cause i don't have time for now. i just wanted to let you know that when
> i tried the following on my debian-linux (pyhton2.3) developer box:
>
> # easy_install.py
> http://kent.dl.sourceforge.net/sourceforge/pyhtmloo/pyhtmloo-0.7.tgz
> Downloading
> http://kent.dl.sourceforge.net/sourceforge/pyhtmloo/pyhtmloo-0.7.tgz
> Processing pyhtmloo-0.7.tgz
> Running setup.py -q bdist_egg
> --dist-dir /tmp/easy_install-SBrVHV/egg-dist-tmp-RayRAv
>
> i get a traceback from setuptools that is attached.
>
> sorry that i can't help further for now, but i thought better know about
> a possible bug as
> when you don't.
>
> cheers
> Ulrich Eck
>
>
>
>
>
>
>
>
>
>
> On Sat, 2005-07-09 at 02:04 -0400, Phillip J. Eby wrote:
> > I've actually begun the breakup of PEAK packages, and it's going amazingly
> > fast so far. The current Subversion HEAD of PEAK uses setuptools to find
> > and obtain all its dependencies. I've created a new snapshots directory
> > for development snapshots of packages under development:
> >
> > http://peak.telecommunity.com/snapshots/
> >
> > If you want to obtain development snapshots of these projects, you can do
> > so using the EasyInstall program (see
> > http://peak.telecommunity.com/DevCenter/EasyInstall for installation
> > instructions). The command to install the latest PEAK and its dependencies is:
> >
> > easy_install.py -fhttp://peak.telecommunity.com/snapshots/ PEAK
> >
> > It is imperative, by the way, that you clean out old versions of ZConfig,
> > fcgiapp, wsgiref, or pretty much any other packages even remotely
> > associated with PEAK. Such packages will take precedence over packages
> > installed by EasyInstall, so you must remove them, or you'll get strange
> > problems caused by importing old versions of things.
> >
> > Anyway, the breakup has begun, and it's pretty exciting. The win32 .egg
> > files for PEAK dropped from 2.1M to 1.7M when I removed all the external
> > stuff (kjbuckets, ZConfig, PyProtocols,fcgiapp, and wsgiref).
> >
> > I expect that there will probably still be a few hitches here and
> > there. For example, I haven't yet updated PEAK to use pkg_resources to
> > access pkgfile: targets, and peak.web doesn't know how to listdir()
> > package-based resources, either. These may require changes to a couple of
> > interfaces. Overall, though, things are going nicely. I hope to have some
> > better setuptools documentation out this weekend; for now you can see an
> > extremely partial draft at:
> >
> > http://peak.telecommunity.com/DevCenter/setuptools
> >
> > I hope to have most of the Developer's Guide and all of the Command
> > Reference stuff documented this weekend, along with a setuptools-0.5a9
> > release that will hopefully wrap up the remaining features needed for PEAK
> > to run as an egg.
> >
> > _______________________________________________
> > PEAK mailing list
> > PEAK at eby-sarna.com
> > http://www.eby-sarna.com/mailman/listinfo/peak
--
-------------- next part --------------
Traceback (most recent call last):
File "/usr/bin/easy_install.py", line 4, in ?
pkg_resources.run_script('setuptools==0.5a12', 'easy_install.py')
File "/usr/lib/python2.3/site-packages/setuptools-0.5a12-py2.3.egg/pkg_resources.py", line 111, in run_script
require(dist_spec)[0].metadata.run_script(script_name, ns)
File "/usr/lib/python2.3/site-packages/setuptools-0.5a12-py2.3.egg/pkg_resources.py", line 634, in run_script
execfile(script_filename, namespace, namespace)
File "/usr/lib/python2.3/site-packages/setuptools-0.5a12-py2.3.egg/EGG-INFO/scripts/easy_install.py", line 18, in ?
main(sys.argv[1:])
File "/usr/lib/python2.3/site-packages/setuptools-0.5a12-py2.3.egg/setuptools/command/easy_install.py", line 987, in main
setup(script_args = ['-q','easy_install', '-v']+argv, **kw)
File "/usr/lib/python2.3/site-packages/setuptools-0.5a12-py2.3.egg/setuptools/__init__.py", line 51, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python2.3/distutils/core.py", line 149, in setup
dist.run_commands()
File "/usr/lib/python2.3/site-packages/setuptools-0.5a12-py2.3.egg/setuptools/dist.py", line 419, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.3/distutils/dist.py", line 927, in run_command
cmd_obj.run()
File "/usr/lib/python2.3/site-packages/setuptools-0.5a12-py2.3.egg/setuptools/command/easy_install.py", line 222, in run
self.easy_install(spec)
File "/usr/lib/python2.3/site-packages/setuptools-0.5a12-py2.3.egg/setuptools/command/easy_install.py", line 256, in easy_install
return self.install_item(None, download, tmpdir, True)
File "/usr/lib/python2.3/site-packages/setuptools-0.5a12-py2.3.egg/setuptools/command/easy_install.py", line 294, in install_item
dists = self.install_eggs(download, tmpdir)
File "/usr/lib/python2.3/site-packages/setuptools-0.5a12-py2.3.egg/setuptools/command/easy_install.py", line 441, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/usr/lib/python2.3/site-packages/setuptools-0.5a12-py2.3.egg/setuptools/command/easy_install.py", line 719, in build_and_install
run_setup(setup_script, args)
File "/usr/lib/python2.3/site-packages/setuptools-0.5a12-py2.3.egg/setuptools/sandbox.py", line 26, in run_setup
DirectorySandbox(setup_dir).run(
File "/usr/lib/python2.3/site-packages/setuptools-0.5a12-py2.3.egg/setuptools/sandbox.py", line 63, in run
return func()
File "/usr/lib/python2.3/site-packages/setuptools-0.5a12-py2.3.egg/setuptools/sandbox.py", line 29, in <lambda>
{'__file__':setup_script, '__name__':'__main__'}
File "setup.py", line 10, in ?
File "/usr/lib/python2.3/distutils/core.py", line 149, in setup
dist.run_commands()
File "/usr/lib/python2.3/distutils/dist.py", line 907, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.3/distutils/dist.py", line 926, in run_command
cmd_obj.ensure_finalized()
File "/usr/lib/python2.3/distutils/cmd.py", line 117, in ensure_finalized
self.finalize_options()
File "/usr/lib/python2.3/site-packages/setuptools-0.5a12-py2.3.egg/setuptools/command/bdist_egg.py", line 94, in finalize_options
ei_cmd = self.get_finalized_command("egg_info")
File "/usr/lib/python2.3/distutils/cmd.py", line 319, in get_finalized_command
cmd_obj.ensure_finalized()
File "/usr/lib/python2.3/distutils/cmd.py", line 117, in ensure_finalized
self.finalize_options()
File "/usr/lib/python2.3/site-packages/setuptools-0.5a12-py2.3.egg/setuptools/command/egg_info.py", line 44, in finalize_options
self.egg_version = self.tagged_version()
File "/usr/lib/python2.3/site-packages/setuptools-0.5a12-py2.3.egg/setuptools/command/egg_info.py", line 133, in tagged_version
return safe_version(version)
File "/usr/lib/python2.3/site-packages/setuptools-0.5a12-py2.3.egg/pkg_resources.py", line 566, in safe_version
version = version.replace(' ','.')
AttributeError: 'float' object has no attribute 'replace'
More information about the PEAK
mailing list