[Python-checkins] python/nondist/sandbox/setuptools/setuptools dist.py, 1.10, 1.11
pje@users.sourceforge.net
pje at users.sourceforge.net
Thu Jul 7 04:03:27 CEST 2005
Update of /cvsroot/python/python/nondist/sandbox/setuptools/setuptools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14617/setuptools
Modified Files:
dist.py
Log Message:
Beefed up the "sdist" command so that if you don't have a MANIFEST.in, it
will include all files under revision control (CVS or Subversion) in the
current directory, and it will regenerate the list every time you create a
source distribution, not just when you tell it to. This should make the
default "do what you mean" more often than the distutils' default behavior
did, while still retaining the old behavior in the presence of MANIFEST.in.
Index: dist.py
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/setuptools/setuptools/dist.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- dist.py 6 Jul 2005 02:10:48 -0000 1.10
+++ dist.py 7 Jul 2005 02:03:24 -0000 1.11
@@ -5,6 +5,7 @@
from setuptools.depends import Require
from setuptools.command.build_ext import build_ext
from setuptools.command.install import install
+from setuptools.command.sdist import sdist
from setuptools.command.install_lib import install_lib
from distutils.errors import DistutilsOptionError, DistutilsPlatformError
from distutils.errors import DistutilsSetupError
@@ -79,7 +80,6 @@
distribution for the included and excluded features.
"""
-
def __init__ (self, attrs=None):
have_package_data = hasattr(self, "package_data")
if not have_package_data:
@@ -98,7 +98,7 @@
self.cmdclass.setdefault('build_ext',build_ext)
self.cmdclass.setdefault('install',install)
self.cmdclass.setdefault('install_lib',install_lib)
-
+ self.cmdclass.setdefault('sdist',sdist)
More information about the Python-checkins
mailing list