distribute 0.6.16 on latest python3

49 views
Skip to first unread message

Senthil Kumaran

unread,
May 18, 2011, 8:32:08 PM5/18/11
to the-fellowship-...@googlegroups.com
My trial with distribute_setup.py using the latest python3 (cpython repo at hg.python.org) resulted in this.
Bug?

Adding distribute 0.6.16 to easy-install.pth file
Traceback (most recent call last):
  File "setup.py", line 211, in <module>
    scripts = scripts,
  File "/usr/local/lib/python3.3/distutils/core.py", line 149, in setup
    dist.run_commands()
  File "/usr/local/lib/python3.3/distutils/dist.py", line 919, in run_commands
    self.run_command(cmd)
  File "/usr/local/lib/python3.3/distutils/dist.py", line 938, in run_command
    cmd_obj.run()
  File "build/src/setuptools/command/install.py", line 73, in run
    self.do_egg_install()
  File "build/src/setuptools/command/install.py", line 101, in do_egg_install
    cmd.run()
  File "build/src/setuptools/command/easy_install.py", line 345, in run
    self.easy_install(spec, not self.no_deps)
  File "build/src/setuptools/command/easy_install.py", line 565, in easy_install
    return self.install_item(None, spec, tmpdir, deps, True)
  File "build/src/setuptools/command/easy_install.py", line 617, in install_item
    self.process_distribution(spec, dist, deps)
  File "build/src/setuptools/command/easy_install.py", line 646, in process_distribution
    self.install_egg_scripts(dist)
  File "build/src/setuptools/command/easy_install.py", line 516, in install_egg_scripts
    self.install_wrapper_scripts(dist)
  File "build/src/setuptools/command/easy_install.py", line 720, in install_wrapper_scripts
    for args in get_script_args(dist):
  File "build/src/setuptools/command/easy_install.py", line 1742, in get_script_args
    header = get_script_header("", executable, wininst)
  File "build/src/setuptools/command/easy_install.py", line 1594, in get_script_header
    match = first_line_re.match(first)
TypeError: can't use a bytes pattern on a string-like object
Something went wrong during the installation.
See the error message above.

--
Senthil

Tarek Ziadé

unread,
May 19, 2011, 2:18:55 AM5/19/11
to the-fellowship-...@googlegroups.com
Hey,

This was fixed in tip, expect a release by the end of the week

Cheers

--
Tarek Ziadé | http://ziade.org

Senthil Kumaran

unread,
May 19, 2011, 2:38:33 AM5/19/11
to the-fellowship-...@googlegroups.com
On Thu, May 19, 2011 at 08:18:55AM +0200, Tarek Ziad� wrote:
>
> This was fixed in tip, expect a release by the end of the week

I shall try the one from there.

Thanks,
Senthil

Reply all
Reply to author
Forward
0 new messages