Mantis - py_setuptools
Viewing Issue Advanced Details
3704 packaging major always 2009-06-05 04:31 2009-06-16 23:37
bwalton  
mwatters  
normal  
closed  
fixed  
none    
none  
0003704: python lib path change breaks module
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.
Issue History
2009-06-05 04:31 bwalton New Issue
2009-06-05 05:36 mwatters Note Added: 0006270
2009-06-05 05:36 mwatters Assigned To => mwatters
2009-06-05 05:36 mwatters Status new => confirmed
2009-06-05 21:52 bwalton Note Added: 0006276
2009-06-05 23:10 mwatters Note Added: 0006277
2009-06-05 23:15 bwalton Note Added: 0006278
2009-06-16 23:37 mwatters Note Added: 0006322
2009-06-16 23:37 mwatters Status confirmed => closed
2009-06-16 23:37 mwatters Resolution open => fixed

Notes
(0006270)
mwatters   
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   
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   
2009-06-05 23:10   
distutils is part of python_devel
(0006278)
bwalton   
2009-06-05 23:15   
Should setuputils depend on python_devel then?
(0006322)
mwatters   
2009-06-16 23:37   
new pysetuptools has been released and libpath corrected.