[Python-checkins] r45695 - sandbox/trunk/setuptools/setuptools/dist.py (original) (raw)
phillip.eby python-checkins at python.org
Mon Apr 24 22:50:19 CEST 2006
- Previous message: [Python-checkins] r45694 - sandbox/trunk/setuptools/setuptools/command/bdist_egg.py sandbox/trunk/setuptools/setuptools/command/easy_install.py
- Next message: [Python-checkins] r45696 - in sandbox/branches/setuptools-0.6/setuptools: command/bdist_egg.py command/easy_install.py dist.py
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: phillip.eby Date: Mon Apr 24 22:50:18 2006 New Revision: 45695
Modified: sandbox/trunk/setuptools/setuptools/dist.py Log: Catch 'module' names in internal module name list as well.
Modified: sandbox/trunk/setuptools/setuptools/dist.py
--- sandbox/trunk/setuptools/setuptools/dist.py (original) +++ sandbox/trunk/setuptools/setuptools/dist.py Mon Apr 24 22:50:18 2006 @@ -624,10 +624,12 @@ for ext in self.ext_modules or (): if isinstance(ext,tuple): - name,buildinfo = ext - yield name + name, buildinfo = ext else: - yield ext.name + name = ext.name + if name.endswith('module'): + name = name[:-6] + yield name # Install it throughout the distutils for module in distutils.dist, distutils.core, distutils.cmd: @@ -652,8 +654,6 @@
- class Feature: """A subset of the distribution that can be excluded if unneeded/wanted
- Previous message: [Python-checkins] r45694 - sandbox/trunk/setuptools/setuptools/command/bdist_egg.py sandbox/trunk/setuptools/setuptools/command/easy_install.py
- Next message: [Python-checkins] r45696 - in sandbox/branches/setuptools-0.6/setuptools: command/bdist_egg.py command/easy_install.py dist.py
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]