[Python-checkins] CVS: distutils/distutils/command sdist.py,1.31,1.32
Greg Ward
python-dev@python.org
Wed, 7 Jun 2000 18:22:51 -0700
Update of /cvsroot/python/distutils/distutils/command
In directory slayer.i.sourceforge.net:/tmp/cvs-serv25088
Modified Files:
sdist.py
Log Message:
Include setup.cfg in the list of default files to distribute.
Index: sdist.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/command/sdist.py,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -r1.31 -r1.32
*** sdist.py 2000/06/08 01:06:02 1.31
--- sdist.py 2000/06/08 01:22:48 1.32
***************
*** 5,9 ****
# created 1999/09/22, Greg Ward
! __revision__ = "$Id: sdist.py,v 1.31 2000/06/08 01:06:02 gward Exp $"
import sys, os, string, re
--- 5,9 ----
# created 1999/09/22, Greg Ward
! __revision__ = "$Id: sdist.py,v 1.32 2000/06/08 01:22:48 gward Exp $"
import sys, os, string, re
***************
*** 234,237 ****
--- 234,241 ----
else is optional.
"""
+
+ # XXX name of setup script and config file should be taken
+ # programmatically from the Distribution object (except
+ # it doesn't have that capability... yet!)
standards = [('README', 'README.txt'), 'setup.py']
for fn in standards:
***************
*** 254,258 ****
self.warn ("standard file '%s' not found" % fn)
! optional = ['test/test*.py']
for pattern in optional:
files = filter (os.path.isfile, glob (pattern))
--- 258,262 ----
self.warn ("standard file '%s' not found" % fn)
! optional = ['test/test*.py', 'setup.cfg']
for pattern in optional:
files = filter (os.path.isfile, glob (pattern))