aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/dist.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2005-08-14 20:16:28 +0000
committerPJ Eby <distutils-sig@python.org>2005-08-14 20:16:28 +0000
commita3ae3c46f0619d1273ed651f50352f5bb0425a80 (patch)
tree0b969336ffeba6a79a010b643556971cdc8ddadd /setuptools/dist.py
parent91d1b66cc33c1300e1f95012933e5413ea897d01 (diff)
downloadexternal_python_setuptools-a3ae3c46f0619d1273ed651f50352f5bb0425a80.tar.gz
external_python_setuptools-a3ae3c46f0619d1273ed651f50352f5bb0425a80.tar.bz2
external_python_setuptools-a3ae3c46f0619d1273ed651f50352f5bb0425a80.zip
Allow distributing an empty namespace package.
--HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041199
Diffstat (limited to 'setuptools/dist.py')
-rw-r--r--setuptools/dist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/dist.py b/setuptools/dist.py
index 02458858..1285c340 100644
--- a/setuptools/dist.py
+++ b/setuptools/dist.py
@@ -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 " +