This is the pyfits-py27 error.  pycoverage-py27 fails with the same error.

python2.7 setup.py build
Traceback (most recent call last):
   File "setup.py", line 4, in <module>
     from setuptools import setup
   File "/sw32/lib/python2.7/site-packages/setuptools/__init__.py", line 
2, in <module>
     from setuptools.extension import Extension, Library
   File "/sw32/lib/python2.7/site-packages/setuptools/extension.py", 
line 5, in <module>
     from setuptools.dist import _get_unpatched
   File "/sw32/lib/python2.7/site-packages/setuptools/dist.py", line 6, 
in <module>
     from setuptools.command.install import install
   File 
"/sw32/lib/python2.7/site-packages/setuptools/command/__init__.py", line 
8, in <module>
     from setuptools.command import install_scripts
   File 
"/sw32/lib/python2.7/site-packages/setuptools/command/install_scripts.py", 
line 3, in <module>
     from pkg_resources import Distribution, PathMetadata, ensure_directory
   File "/sw32/lib/python2.7/site-packages/pkg_resources.py", line 2755, 
in <module>
     add_activation_listener(lambda dist: dist.activate())
   File "/sw32/lib/python2.7/site-packages/pkg_resources.py", line 704, 
in subscribe
     callback(dist)
   File "/sw32/lib/python2.7/site-packages/pkg_resources.py", line 2755, 
in <lambda>
     add_activation_listener(lambda dist: dist.activate())
   File "/sw32/lib/python2.7/site-packages/pkg_resources.py", line 2255, 
in activate
     self.insert_on(path)
   File "/sw32/lib/python2.7/site-packages/pkg_resources.py", line 2362, 
in insert_on
     self.check_version_conflict()
   File "/sw32/lib/python2.7/site-packages/pkg_resources.py", line 2401, 
in check_version_conflict
     for modname in self._get_metadata('top_level.txt'):
   File "/sw32/lib/python2.7/site-packages/pkg_resources.py", line 2249, 
in _get_metadata
     for line in self.get_metadata_lines(name):
   File "/sw32/lib/python2.7/site-packages/pkg_resources.py", line 1213, 
in get_metadata_lines
     return yield_lines(self.get_metadata(name))
   File "/sw32/lib/python2.7/site-packages/pkg_resources.py", line 1205, 
in get_metadata
     return self._get(self._fn(self.egg_info,name))
   File "/sw32/lib/python2.7/site-packages/pkg_resources.py", line 1320, 
in _get
     stream = open(path, 'rb')
IOError: [Errno 13] Permission denied: 
'/sw32/lib/python2.7/site-packages/pygr-0.8.1-py2.7.egg-info/top_level.txt'
### execution of python2.7 failed, exit code 1

$ ls -l 
/sw32/lib/python2.7/site-packages/pygr-0.8.1-py2.7.egg-info/top_level.txt
-rw-------  1 root  admin  5 Oct 15 16:08 
/sw32/lib/python2.7/site-packages/pygr-0.8.1-py2.7.egg-info/top_level.txt

So the permissions for this file prevent pyfits and coverage from being 
built when not using root.

Hanspeter

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to