Commit a20ad75b authored by PJ Eby's avatar PJ Eby

On second thought, don't. :( Walter Doerwald's situation isn't really

compatible with namespace packages, even if I do manage to hack up a way
to make it work.

--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041200
parent a3ae3c46
...@@ -54,7 +54,7 @@ def check_nsp(dist, attr, value): ...@@ -54,7 +54,7 @@ def check_nsp(dist, attr, value):
for nsp in value: for nsp in value:
for name in dist.iter_distribution_names(): for name in dist.iter_distribution_names():
if name==nsp or name.startswith(nsp+'.'): break if name.startswith(nsp+'.'): break
else: else:
raise DistutilsSetupError( raise DistutilsSetupError(
"Distribution contains no modules or packages for " + "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