[bug-notifications] [pysetuptools 0003704]: python lib path change breaks module
Mantis Bug Tracker
noreply at opencsw.org
Fri Jun 5 21:52:52 CEST 2009
A NOTE has been added to this issue.
======================================================================
http://www.opencsw.org/mantis/view.php?id=3704
======================================================================
Reported By: bwalton
Assigned To: mwatters
======================================================================
Project: pysetuptools
Issue ID: 3704
Category: packaging
Reproducibility: always
Severity: major
Priority: normal
Status: confirmed
======================================================================
Date Submitted: 2009-06-05 04:31 CEST
Last Modified: 2009-06-05 21:52 CEST
======================================================================
Summary: 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.
======================================================================
----------------------------------------------------------------------
(0006270) mwatters (manager) - 2009-06-05 05:36
http://www.opencsw.org/mantis/view.php?id=3704#c6270
----------------------------------------------------------------------
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 (reporter) - 2009-06-05 21:52
http://www.opencsw.org/mantis/view.php?id=3704#c6276
----------------------------------------------------------------------
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
Issue History
Date Modified Username Field Change
======================================================================
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
======================================================================
More information about the bug-notifications
mailing list