OpenCSW Bug Tracker


Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003704 [py_setuptools] packaging major always 2009-06-05 04:31 2009-06-16 23:37
Reporter bwalton View Status public  
Assigned To mwatters
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Product Build
Summary 0003704: python lib path change breaks module
Description After the change from lib/python2.6 to lib/python, the pysetuptools package isn't found by python using from ... or import. A modified sys.path (or whatever the python lingo is) would fix this, but it should be repackaged to the new lib path.
Steps To Reproduce
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0006270)
mwatters (reporter)
2009-06-05 05:36

Now that the new python and cswclassutils are installed on the build farm, I will start re-packaging the python modules. I was in a holding pattern until the cswclassutils package was released.
(0006276)
bwalton (administrator)
2009-06-05 21:52

The newly packaged module seems to fix the import problem for the module itself, but now, it can't find distutils:

I have the following packages installed:
CSWpysetuptools
0.6,REV=2009.06.05_rev=c9
CSWpython
2.6.2,REV=2009.05.28
CSWpython-rt
2.6.2,REV=2009.05.28

The error reported now is:
 ==> Running setup.py install in work/build-isa-i386/gitosis-0.2
Traceback (most recent call last):
  File "./setup.py", line 2, in <module>
    from setuptools import setup, find_packages
  File "/opt/csw/lib/python/site-packages/setuptools/__init__.py", line 2, in <module>
    from setuptools.extension import Extension, Library
  File "/opt/csw/lib/python/site-packages/setuptools/extension.py", line 1, in <module>
    from distutils.core import Extension as _Extension
ImportError: No module named distutils.core
(0006277)
mwatters (reporter)
2009-06-05 23:10

distutils is part of python_devel
(0006278)
bwalton (administrator)
2009-06-05 23:15

Should setuputils depend on python_devel then?
(0006322)
mwatters (reporter)
2009-06-16 23:37

new pysetuptools has been released and libpath corrected.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker