Bug 841756

Summary: httpd-dev script doesn't work on Python 2.6
Product: [Community] PulpDist Reporter: Nick Coghlan <ncoghlan>
Component: z_otherAssignee: Nick Coghlan <ncoghlan>
Status: CLOSED EOL QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecified   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-29 03:04:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nick Coghlan 2012-07-20 08:02:34 UTC
The current httpd-dev script (for running a source checkout under Apache) fails on Python 2.6:

$ sudo ./httpd-dev.py --install
Traceback (most recent call last):
  File "./httpd-dev.py", line 162, in <module>
    sys.exit(install(opts))
  File "./httpd-dev.py", line 115, in install
    for src, dst in getlinks(opts):
  File "./httpd-dev.py", line 108, in getlinks
    links.append(get_package_link(opts))
  File "./httpd-dev.py", line 91, in get_package_link
    site_dir = site.getsitepackages()[0]
AttributeError: 'module' object has no attribute 'getsitepackages'

Comment 1 Nick Coghlan 2012-07-23 01:13:11 UTC
Updated in git

Comment 2 Nick Coghlan 2016-09-29 03:04:23 UTC
Marking all remaining PulpDist issues as CLOSED-EOL

It doesn't make sense to leave these issues open, as PulpDist hasn't been in active development for quite some time, and restarting development would involve a significant modernisation effort that would likely render many of these requests irrelevant.