This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pje
Recipients
Date 2007-02-23.22:07:50
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
I concur with Martin: setup() should disallow an empty string as a package, because an empty string is not a valid Python package name.

Regarding Jim's comment that the stripping should be smarter, I'd like to point out that package_dirs must only contain platform-independent directory names, and if anything else is included, it will produce an error when the build_py command is initialized, as 'convert_path' is called on the paths in question.  Thus, they can never contain absolute paths or end in a trailing /.

Thus, the only problem here is that packages is allowed to contain empty strings, which it makes no sense to include.
History
Date User Action Args
2007-08-23 15:42:44adminlinkissue1183712 messages
2007-08-23 15:42:44admincreate