Ticket #16017: sdist.py.diff

File sdist.py.diff, 1.0 KB (added by jdgleeson, 16 years ago)
  • /opt/local/lib/python2.5/site-packages/setuptools/command/

    old new  
    11from distutils.command.sdist import sdist as _sdist
    22from distutils.util import convert_path
     3from distutils import log
    34import os, re, sys, pkg_resources
    45
    56entities = [
     
    3839
    3940
    4041
    41 
    4242def walk_revctrl(dirname=''):
    4343    """Find all files under revision control"""
    4444    for ep in pkg_resources.iter_entry_points('setuptools.file_finders'):
     
    8686    f = open(filename,'rU')
    8787    data = f.read()
    8888    f.close()
    89     if data.startswith('8'):    # subversion 1.4
     89    if data.startswith('9') or data.startswith('8'):    # subversion 1.5/1.4
    9090        for record in map(str.splitlines, data.split('\n\x0c\n')[1:]):
    9191            if not record or len(record)>=6 and record[5]=="delete":
    9292                continue    # skip deleted
     
    202202
    203203
    204204
    205 #
     205#
     206 No newline at end of file