Installation error

Bug #307406 reported by Pieter J. Kersten (EduSense BV)
4
Affects Status Importance Assigned to Milestone
Coffin
Fix Committed
High
Unassigned

Bug Description

When running
   python setup.py install
the following exception occurs:

running install_egg_info
Traceback (most recent call last):
  File "setup.py", line 12, in <module>
    packages=['coffin', 'coffin.shortcuts', 'coffin.template'],
  File "/usr/lib/python2.5/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/usr/lib/python2.5/distutils/dist.py", line 974, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.5/distutils/command/install.py", line 510, in run
    self.run_command(cmd_name)
  File "/usr/lib/python2.5/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.5/distutils/dist.py", line 993, in run_command
    cmd_obj.ensure_finalized()
  File "/usr/lib/python2.5/distutils/cmd.py", line 117, in ensure_finalized
    self.finalize_options()
  File "/usr/lib/python2.5/distutils/command/install_egg_info.py", line 26, in finalize_options
    to_filename(safe_version(self.distribution.get_version())),
  File "/usr/lib/python2.5/distutils/command/install_egg_info.py", line 69, in safe_version
    version = version.replace(' ','.')
AttributeError: 'tuple' object has no attribute 'replace'

Revision history for this message
Christopher D. Leary (cdleary) wrote :

The most recent revision has a find_packages function that should fix the issue. LMK if you can repro on revision 27+.

Changed in coffin:
importance: Undecided → High
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers