hi,<br><br>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?<br><br>rupert.<br><br><div class="gmail_quote">
---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Mantis Bug Tracker</b> <span dir="ltr"><<a href="mailto:noreply@opencsw.org">noreply@opencsw.org</a>></span><br>Date: Fri, Dec 11, 2009 at 09:22<br>
Subject: [trac 0004077]: undeclared dependency on python_devel<br>To: <a href="mailto:rupert@opencsw.org">rupert@opencsw.org</a><br><br><br><br>
The following issue has been SUBMITTED.<br>
======================================================================<br>
<a href="http://www.opencsw.org/bugtrack/view.php?id=4077" target="_blank">http://www.opencsw.org/bugtrack/view.php?id=4077</a><br>
======================================================================<br>
Reported By: pfelecan<br>
Assigned To:<br>
======================================================================<br>
Project: trac<br>
Issue ID: 4077<br>
Category: packaging<br>
Reproducibility: always<br>
Severity: block<br>
Priority: normal<br>
Status: new<br>
======================================================================<br>
Date Submitted: 2009-12-11 09:22 CET<br>
Last Modified: 2009-12-11 09:22 CET<br>
======================================================================<br>
Summary: undeclared dependency on python_devel<br>
Description:<br>
After installing trac, trying to get help:<br>
<br>
trac-admin help<br>
<br>
we get:<br>
<br>
Traceback (most recent call last):<br>
File "/opt/csw/bin/trac-admin", line 5, in <module><br>
from pkg_resources import load_entry_point<br>
File "/opt/csw/lib/python/site-packages/pkg_resources.py", line 657, in<br>
<module><br>
class Environment(object):<br>
File "/opt/csw/lib/python/site-packages/pkg_resources.py", line 660, in<br>
Environment<br>
def __init__(self, search_path=None,<br>
platform=get_supported_platform(), python=PY_MAJOR):<br>
File "/opt/csw/lib/python/site-packages/pkg_resources.py", line 55, in<br>
get_supported_platform<br>
plat = get_build_platform(); m = macosVersionString.match(plat)<br>
File "/opt/csw/lib/python/site-packages/pkg_resources.py", line 186, in<br>
get_build_platform<br>
from distutils.util import get_platform<br>
ImportError: No module named distutils.util<br>
<br>
After installing python_devel, everything seems alright.<br>
======================================================================<br>
<br>
</div><br>