[issue10932] distutils.core.setup - data_files missbehaviour ?

Thorsten Simons report at bugs.python.org
Tue Jan 18 13:30:25 CET 2011


New submission from Thorsten Simons <th at snomis.de>:

Hi !

when specifying additional files to be distributed by distutils.core.setup, documentation says that:

"Each file name in files is interpreted relative to the setup.py script at the top of the package source distribution. No directory information from files is used to determine the final location of the installed file; only the name of the file is used"

(http://docs.python.org/py3k/distutils/setupscript.html#distutils-additional-files)

Well, this seems to be incorrect - I tried to specify a file from a higher level directory, which get's copies to a target based on the whole path I specified, not just the name...

Pls. see attached file for details

----------
assignee: tarek
components: Distutils
files: issue.txt
messages: 126459
nosy: Thorsten.Simons, eric.araujo, tarek
priority: normal
severity: normal
status: open
title: distutils.core.setup - data_files missbehaviour ?
type: behavior
versions: Python 3.1
Added file: http://bugs.python.org/file20435/issue.txt

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10932>
_______________________________________


More information about the Python-bugs-list mailing list