[bug-notifications] [pysetuptools 0003907]: Missing dependency on "python_devel"
Mantis Bug Tracker
noreply at opencsw.org
Fri Feb 26 00:23:11 CET 2010
The following issue has been CLOSED
======================================================================
http://www.opencsw.org/mantis/view.php?id=3907
======================================================================
Reported By: trygvis
Assigned To: maciej
======================================================================
Project: pysetuptools
Issue ID: 3907
Category: packaging
Reproducibility: have not tried
Severity: minor
Priority: normal
Status: closed
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2009-09-17 22:10 CEST
Last Modified: 2010-02-26 00:23 CET
======================================================================
Summary: Missing dependency on "python_devel"
Description:
When importing my public key I got a python exception about a missing
distutils module.
$ gitosis-init < /tmp/id_dsa.pub
Traceback (most recent call last):
File "/opt/csw/bin/gitosis-init", 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
Installing python_devel fixed it.
Not sure if gitosis is missing the dependency, it seems to be used by
setuptools.
======================================================================
----------------------------------------------------------------------
(0007523) maciej (manager) - 2010-02-26 00:20
http://www.opencsw.org/mantis/view.php?id=3907#c7523
----------------------------------------------------------------------
distutils have been moved to CSWpython, this issue is now fixed.
More information about the bug-notifications
mailing list