New submission from Ivan Pozdeev:

If a package has directories with names in APP CAPS, 
distutils.commands.bdist_msi creates properties for them that are also in all 
caps.

Such properties are handled specially by MSI and are called "public properties 
(http://www.advancedinstaller.com/user-guide/properties.html).

Due to the way bdist_msi-produced .msi's work, this ultimately results in 
subtrees of these directories being duplicated to a bogus location (the root 
directory of the drive on which the .msi being installed is).

E.g. in the attached example, all 
<python>\Lib\mercurial\locale\<code>\LC_MESSAGES subtrees got duplicated to 
D:\Lib\<etc>.

See https://bz.mercurial-scm.org/show_bug.cgi?id=5192 for details (including a 
high-level description of how bdist_msi packages work).

----------
components: Distutils, Library (Lib), Windows
files: mercurial-3.3.2.log.gz
messages: 263591
nosy: Ivan.Pozdeev, dstufft, eric.araujo, paul.moore, steve.dower, tim.golden, 
zach.ware
priority: normal
severity: normal
status: open
title: bdist_msi duplicates directories with names in ALL CAPS to a bogus 
location
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6
Added file: http://bugs.python.org/file42495/mercurial-3.3.2.log.gz

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26786>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to