diff options
| author | PJ Eby <distutils-sig@python.org> | 2005-08-14 20:16:28 +0000 |
|---|---|---|
| committer | PJ Eby <distutils-sig@python.org> | 2005-08-14 20:16:28 +0000 |
| commit | a3ae3c46f0619d1273ed651f50352f5bb0425a80 (patch) | |
| tree | 0b969336ffeba6a79a010b643556971cdc8ddadd /setuptools/dist.py | |
| parent | 91d1b66cc33c1300e1f95012933e5413ea897d01 (diff) | |
| download | python-setuptools-git-a3ae3c46f0619d1273ed651f50352f5bb0425a80.tar.gz | |
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.py | 2 |
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 " + |
