[New-bugs-announce] [issue26445] setup.py sdist mishandles package_dir option
report at bugs.python.org
Fri Feb 26 13:26:33 EST 2016
New submission from glep:
Suppose I have a setup.py with the option
as would arise if ../utils was a package shared between several projets ('package', 'package1', ...).
I would expect the source distribution created by 'python setup.py sdist'
to create an archive with the following structure:
And this is indeed what *bdist* does. BUT *sdist* copies '../utils' in 'package/../utils' instead of 'package/utils', with the result that utils is outside of the distribution altogether.
The issue is referenced in a couple of StackOverflow posts that have attracted little attention so far, for example:
nosy: dstufft, eric.araujo, glep
title: setup.py sdist mishandles package_dir option
versions: Python 2.7
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce