classification
Title: data_files are not installed relative to sys.prefix
Type: behavior Stage: test needed
Components: Distutils Versions: Python 3.3, Python 3.2, Python 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: eric.araujo Nosy List: eric.araujo, rioch, tarek
Priority: normal Keywords:

Created on 2010-07-23 23:01 by rioch, last changed 2011-06-14 15:23 by eric.araujo.

Messages (2)
msg111396 - (view) Author: (rioch) Date: 2010-07-23 23:01
In the disutils documentation for data_files, it states:

"If directory is a relative path, it is interpreted relative to the installation prefix (Python’s sys.prefix for pure-Python packages, sys.exec_prefix  for packages that contain extension modules)."

However, on my system, sys.prefix outputs as '/usr' but the files are installed to '/usr/local'.

OS: Linux Mint 9
Python: 2.6.5
msg138328 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-06-14 15:23
Thanks for the report.  Do you have a script or test to reproduce the bug?  Otherwise I’ll try to write one.
History
Date User Action Args
2011-06-14 15:23:33eric.araujosetversions: + Python 2.7, Python 3.2, Python 3.3, - Python 2.6
nosy: + eric.araujo

messages: + msg138328

assignee: tarek -> eric.araujo
stage: test needed
2010-07-23 23:01:24riochcreate