OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003907 [py_setuptools] packaging minor have not tried 2009-09-17 22:10 2010-02-26 00:23
Reporter trygvis View Status public  
Assigned To maciej
Priority normal Resolution fixed  
Status closed  
Summary 0003907: 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.
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0007523)
maciej (reporter)
2010-02-26 00:20

distutils have been moved to CSWpython, this issue is now fixed.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker