Ticket #3829: 3829.diff

File 3829.diff, 545 bytes (added by Gary Wilson <gary.wilson@…>, 18 years ago)
  • setup.py

    === modified file 'setup.py'
     
    2121    for i, dirname in enumerate(dirnames):
    2222        if dirname.startswith('.'): del dirnames[i]
    2323    if '__init__.py' in filenames:
    24         package = dirpath[len_root_dir:].lstrip('/').replace('/', '.')
     24        package = dirpath[len_root_dir:].lstrip(os.sep).replace(os.sep, os.curdir)
    2525        packages.append(package)
    2626    else:
    2727        data_files.append([dirpath, [os.path.join(dirpath, f) for f in filenames]])
Back to Top