[csw-maintainers] Fwd: [trac 0004077]: undeclared dependency on python_devel

rupert THURNER rupert at opencsw.org
Sun Dec 13 21:54:33 CET 2009


hi,

can the python specialists amongst you drop a line on this bug report? how
is python devel, setuptools and distutils interconnected, and which package
contains what?

rupert.

---------- Forwarded message ----------
From: Mantis Bug Tracker <noreply at opencsw.org>
Date: Fri, Dec 11, 2009 at 09:22
Subject: [trac 0004077]: undeclared dependency on python_devel
To: rupert at opencsw.org



The following issue has been SUBMITTED.
======================================================================
http://www.opencsw.org/bugtrack/view.php?id=4077
======================================================================
Reported By:                pfelecan
Assigned To:
======================================================================
Project:                    trac
Issue ID:                   4077
Category:                   packaging
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             2009-12-11 09:22 CET
Last Modified:              2009-12-11 09:22 CET
======================================================================
Summary:                    undeclared dependency on python_devel
Description:
After installing trac, trying to get help:

trac-admin help

we get:

Traceback (most recent call last):
 File "/opt/csw/bin/trac-admin", line 5, in <module>
   from pkg_resources import load_entry_point
 File "/opt/csw/lib/python/site-packages/pkg_resources.py", line 657, in
<module>
   class Environment(object):
 File "/opt/csw/lib/python/site-packages/pkg_resources.py", line 660, in
Environment
   def __init__(self, search_path=None,
platform=get_supported_platform(), python=PY_MAJOR):
 File "/opt/csw/lib/python/site-packages/pkg_resources.py", line 55, in
get_supported_platform
   plat = get_build_platform(); m = macosVersionString.match(plat)
 File "/opt/csw/lib/python/site-packages/pkg_resources.py", line 186, in
get_build_platform
   from distutils.util import get_platform
ImportError: No module named distutils.util

After installing python_devel, everything seems alright.
======================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/maintainers/attachments/20091213/43c7d9d3/attachment-0002.html>


More information about the maintainers mailing list