Commit a3ae3c46 authored by PJ Eby's avatar PJ Eby

Allow distributing an empty namespace package.

--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041199
parent 91d1b66c
......@@ -54,7 +54,7 @@ def check_nsp(dist, attr, value):
for nsp in value:
for name in dist.iter_distribution_names():
if name.startswith(nsp+'.'): break
if name==nsp or name.startswith(nsp+'.'): break
else:
raise DistutilsSetupError(
"Distribution contains no modules or packages for " +
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment