Issue #159 duplicate

2.7-trunk regression: sandbox.py no __file__

Sridhar Ratnakumar
created an issue

To reproduce run zc.buildout 1.5.0b2 on Python-trunk 2.7 (as of today) using Distribute 0.6.12.

{{{ Upgraded: distribute version 0.6.12; restarting. Generated script 'F:\as\pypm\trunk\bin\buildout'. Setting socket time out to 5 seconds Develop: 'F:\as\pypm\trunk\.' Traceback (most recent call last): File "c:\docume~1\apy\locals~1\temp\tmprclrig", line 11, in <module> execfile('F:\as\pypm\trunk\.\setup.py') File "F:\as\pypm\trunk.\setup.py", line 59, in <module> 'notifications=pypm.notifications.command:main [backend]', File "C:\Python26\lib\distutils\core.py", line 138, in setup ok = dist.parse_command_line() File "c:\home\eggs\distribute-0.6.12-py2.6.egg\setuptools\dist.py", line 232, in parse_command_line result = _Distribution.parse_command_line(self) File "C:\Python26\lib\distutils\dist.py", line 460, in parse_command_line args = self._parse_command_opts(parser, args) File "c:\home\eggs\distribute-0.6.12-py2.6.egg\setuptools\dist.py", line 556, in _parse_command_opts nargs = _Distribution._parse_command_opts(self, parser, args) File "C:\Python26\lib\distutils\dist.py", line 518, in _parse_command_opts cmd_class = self.get_command_class(command) File "c:\home\eggs\distribute-0.6.12-py2.6.egg\setuptools\dist.py", line 361, in get_command_class self.cmdclass[command] = cmdclass = ep.load() File "c:\home\eggs\distribute-0.6.12-py2.6.egg\pkg_resources.py", line 1953, in load entry = import(self.module_name, globals(),globals(), ['name']) File "c:\home\eggs\distribute-0.6.12-py2.6.egg\setuptools\command\develop.py", line 1, in <module> from setuptools.command.easy_install import easy_install File "c:\home\eggs\distribute-0.6.12-py2.6.egg\setuptools\command\easy_install.py", line 16, in <module> from setuptools.sandbox import run_setup File "c:\home\eggs\distribute-0.6.12-py2.6.egg\setuptools\sandbox.py", line 163, in <module> fromlist=['name']).file) AttributeError: 'module' object has no attribute 'file' While: Installing. Processing develop directory 'F:\as\pypm\trunk\.'. }}}

Comments (1)

  1. Log in to comment